aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell
diff options
context:
space:
mode:
authorGravatar olaola <olaola@google.com>2017-11-07 05:46:41 +0100
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2017-11-07 19:07:32 +0100
commitd6ff2e7537f67c3c5763cf6570042b3261803ab9 (patch)
treee546764daf0b729ab42e46fb74ec5bd8adc4a090 /src/test/shell
parent8122806166f75c79b3d01df0f67af00cf4d22ac6 (diff)
Fixes the sample test XML format to have a proper failure tag.
RELNOTES: None PiperOrigin-RevId: 174803631
Diffstat (limited to 'src/test/shell')
-rwxr-xr-xsrc/test/shell/bazel/remote_execution_test.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/test/shell/bazel/remote_execution_test.sh b/src/test/shell/bazel/remote_execution_test.sh
index 2dd63be864..054123e0aa 100755
--- a/src/test/shell/bazel/remote_execution_test.sh
+++ b/src/test/shell/bazel/remote_execution_test.sh
@@ -271,8 +271,10 @@ if __name__ == "__main__":
f.write('''
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
- <testsuite name="test" tests="1" failures="0" errors="1">
- <testcase name="first" status="run">That did not work!</testcase>
+ <testsuite name="test" tests="1" failures="1" errors="1">
+ <testcase name="first" status="run">
+ <failure>That did not work!</failure>
+ </testcase>
</testsuite>
</testsuites>
''')
@@ -308,8 +310,10 @@ if __name__ == "__main__":
f.write('''
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
- <testsuite name="test" tests="1" failures="0" errors="1">
- <testcase name="first" status="run">That did not work!</testcase>
+ <testsuite name="test" tests="1" failures="1" errors="1">
+ <testcase name="first" status="run">
+ <failure>That did not work!</failure>
+ </testcase>
</testsuite>
</testsuites>
''')