[LNT] r237783 - Improve regression test for --exclude-stat-from-submission option
Kristof Beyls
kristof.beyls at arm.com
Wed May 20 03:56:29 PDT 2015
Author: kbeyls
Date: Wed May 20 05:56:29 2015
New Revision: 237783
URL: http://llvm.org/viewvc/llvm-project?rev=237783&view=rev
Log:
Improve regression test for --exclude-stat-from-submission option
Modified:
lnt/trunk/tests/runtest/exclude_stat.py
lnt/trunk/tests/runtest/nt.py
Modified: lnt/trunk/tests/runtest/exclude_stat.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/tests/runtest/exclude_stat.py?rev=237783&r1=237782&r2=237783&view=diff
==============================================================================
--- lnt/trunk/tests/runtest/exclude_stat.py (original)
+++ lnt/trunk/tests/runtest/exclude_stat.py Wed May 20 05:56:29 2015
@@ -8,4 +8,7 @@
# RUN: --exclude-stat-from-submission compile \
# RUN: --no-timestamp > %t.log 2> %t.err
# RUN: FileCheck --check-prefix CHECK-STDOUT < %t.log %s
+# RUN: FileCheck --check-prefix CHECK-REPORT < %t.SANDBOX/build/report.json %s
# CHECK-STDOUT: Import succeeded.
+# CHECK-REPORT: "Name": "nts.{{[^.]+}}.exec"
+# CHECK-REPORT-NOT: "Name": "nts.{{[^.]+}}.compile"
Modified: lnt/trunk/tests/runtest/nt.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/tests/runtest/nt.py?rev=237783&r1=237782&r2=237783&view=diff
==============================================================================
--- lnt/trunk/tests/runtest/nt.py (original)
+++ lnt/trunk/tests/runtest/nt.py Wed May 20 05:56:29 2015
@@ -10,6 +10,8 @@
# RUN: FileCheck --check-prefix CHECK-BASIC < %t.err %s
# RUN: FileCheck --check-prefix CHECK-REPORT < %t.SANDBOX/build/report.json %s
# CHECK-REPORT: "run_order": "154331"
+# CHECK-REPORT: "Name": "nts.{{[^.]+}}.exec"
+# CHECK-REPORT: "Name": "nts.{{[^.]+}}.compile"
#
# CHECK-STDOUT: Import succeeded.
# CHECK-STDOUT: Added Machines: 1
More information about the llvm-commits
mailing list