[llvm] r331945 - Refactor test incase results are backwards
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Wed May 9 17:06:17 PDT 2018
Author: cmatthews
Date: Wed May 9 17:06:17 2018
New Revision: 331945
URL: http://llvm.org/viewvc/llvm-project?rev=331945&view=rev
Log:
Refactor test incase results are backwards
Looks like results can come in either way in this file. Loosen the ordering constraints.
Modified:
llvm/trunk/utils/lit/tests/test-output.py
Modified: llvm/trunk/utils/lit/tests/test-output.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/tests/test-output.py?rev=331945&r1=331944&r2=331945&view=diff
==============================================================================
--- llvm/trunk/utils/lit/tests/test-output.py (original)
+++ llvm/trunk/utils/lit/tests/test-output.py Wed May 9 17:06:17 2018
@@ -12,19 +12,8 @@
# CHECK-NEXT: "value0": 1,
# CHECK-NEXT: "value1": 2.3456
# CHECK-NEXT: }
-# CHECK-NEXT: "name": "test-data :: bad&name.ini",
-# CHECK-NEXT: "output": "& < > \""
-# CHECK-NEXT: },
-# CHECK-NEXT: {
-# CHECK-NEXT: "code": "PASS",
-# CHECK-NEXT: "elapsed": {{[0-9.]+}},
-# CHECK-NEXT: "metrics": {
-# CHECK-NEXT: "value0": 1,
-# CHECK-NEXT: "value1": 2.3456
-# CHECK-NEXT: }
-# CHECK-NEXT: "name": "test-data :: metrics.ini",
-# CHECK-NEXT: "output": "Test passed."
-# CHECK-NEXT: }
+# CHECK: "name": "test-data :: bad&name.ini",
+# CHECK: "output": "& < > \""
-# CHECK-NEXT: ]
+# CHECK: ]
# CHECK-NEXT: }
More information about the llvm-commits
mailing list