diff options
author | Chris Matthews <cmatthews5@apple.com> | 2018-05-16 00:33:29 +0000 |
---|---|---|
committer | Chris Matthews <cmatthews5@apple.com> | 2018-05-16 00:33:29 +0000 |
commit | 5d1014bff54ee727c2dfe2710a99a2c04ee8a888 (patch) | |
tree | 8487fa142d2968d3852d5951b6f5c8acec31d4f3 /llvm/utils/lit/tests/xunit-output.py | |
parent | faa03f4acaf5a7a2654c440f590c0ba31242b482 (diff) | |
download | llvm-5d1014bff54ee727c2dfe2710a99a2c04ee8a888.zip llvm-5d1014bff54ee727c2dfe2710a99a2c04ee8a888.tar.gz llvm-5d1014bff54ee727c2dfe2710a99a2c04ee8a888.tar.bz2 |
Use not to catch unexpected pass as well as remove old test results
As per review feedback, make sure we rm temp files, and make the return
code checking for lit more specific.
llvm-svn: 332423
Diffstat (limited to 'llvm/utils/lit/tests/xunit-output.py')
-rw-r--r-- | llvm/utils/lit/tests/xunit-output.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/utils/lit/tests/xunit-output.py b/llvm/utils/lit/tests/xunit-output.py index 352f67e..436acd3 100644 --- a/llvm/utils/lit/tests/xunit-output.py +++ b/llvm/utils/lit/tests/xunit-output.py @@ -1,5 +1,6 @@ # Check xunit output -# RUN: %{lit} --xunit-xml-output %t.xunit.xml %{inputs}/xunit-output || true +# RUN: rm -rf %t.xunit.xml +# RUN: not %{lit} --xunit-xml-output %t.xunit.xml %{inputs}/xunit-output # RUN: FileCheck < %t.xunit.xml %s # CHECK: <?xml version="1.0" encoding="UTF-8" ?> |