From 5d1014bff54ee727c2dfe2710a99a2c04ee8a888 Mon Sep 17 00:00:00 2001 From: Chris Matthews Date: Wed, 16 May 2018 00:33:29 +0000 Subject: [PATCH] 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 --- llvm/utils/lit/tests/xunit-output.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.7.4