diff options
author | Dana Dahlstrom <dahlstrom@google.com> | 2018-08-08 15:30:00 -0700 |
---|---|---|
committer | Dana Dahlstrom <dahlstrom@google.com> | 2018-08-08 15:30:00 -0700 |
commit | b3159507f822337893b9a4a1a13432e38d82e6b4 (patch) | |
tree | 6ff48701829a06b0ff25695ca1191b09d76e092b /run_compilation_tests.sh | |
parent | ae656ad892ede8ed7420a291ba2851e988971f2c (diff) | |
download | data-binding-b3159507f822337893b9a4a1a13432e38d82e6b4.tar.gz |
Make .zip file for gradle-testlog-forwarding
… instead of copying .xml files for gtest-testlog-forwarding.
Change-Id: Iba4af15d4f4077e2bfc03d94b5e355ceb70d72e3
Diffstat (limited to 'run_compilation_tests.sh')
-rwxr-xr-x | run_compilation_tests.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/run_compilation_tests.sh b/run_compilation_tests.sh index bc40d6ab..6ba9ab57 100755 --- a/run_compilation_tests.sh +++ b/run_compilation_tests.sh @@ -10,7 +10,7 @@ export JAVA_HOME="$(realpath "${script_dir}"/../../prebuilts/studio/jdk/linux)" (cd "${script_dir}" && ./gradlew :dataBinding:compilationTests:test) if [[ -d "${dist_dir}" ]]; then - # on AB/ATP, follow conventions to use gtest-testlog-forwarding - mkdir "${dist_dir}"/gtest - cp -av "${script_dir}"/compilationTests/build/test-results/test/*.xml "${dist_dir}"/gtest + # on AB/ATP, follow conventions to use gradle-testlog-forwarding + mkdir "${dist_dir}"/host-test-reports + zip -j "${dist_dir}"/host-test-reports/compilationTests.zip "${script_dir}"/compilationTests/build/test-results/test/*.xml fi |