Skip to content

Commit ce80206

Browse files
committed
WIP: Try fixing tests
1 parent 11714a6 commit ce80206

File tree

4 files changed

+15
-11
lines changed

4 files changed

+15
-11
lines changed

tests/runtest/test_suite-fail-compile.shtest

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@
1212
# RUN: filecheck --check-prefix CHECK-RESULTS-FAIL-COMPILE < %t.SANDBOX/build/report.json %s
1313
# CHECK-RESULTS-FAIL-COMPILE: "no_errors": "False"
1414
# CHECK-RESULTS-FAIL-COMPILE: "run_order": "123"
15-
# CHECK-RESULTS-FAIL-COMPILE: "Name": "nts.bar.compile.status"
15+
# CHECK-RESULTS-FAIL-COMPILE: "compile.status": 1.0
16+
# CHECK-RESULTS-FAIL-COMPILE: "name": "nts.bar"

tests/runtest/test_suite-fail-exec.shtest

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@
1212
# RUN: filecheck --check-prefix CHECK-RESULTS-FAIL-EXEC < %t.SANDBOX/build/report.json %s
1313
# CHECK-RESULTS-FAIL-EXEC: "no_errors": "False"
1414
# CHECK-RESULTS-FAIL-EXEC: "run_order": "123"
15-
# CHECK-RESULTS-FAIL-EXEC: "Name": "nts.baz.exec.status"
15+
# CHECK-RESULTS-FAIL-EXEC: "exec.status": 1.0
16+
# CHECK-RESULTS-FAIL-EXEC: "name": "nts.baz"

tests/runtest/test_suite-metrics.shtest

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
# RUN: > %t.log 2> %t.err
1414
# RUN: filecheck --check-prefix CHECK-METRICS < %t.SANDBOX/build/report.json %s
1515
# RUN: filecheck --check-prefix CHECK-METRICS2 < %t.SANDBOX/build/report.json %s
16-
# CHECK-METRICS-DAG: foo.exec
17-
# CHECK-METRICS-DAG: foo.compile
18-
# CHECK-METRICS-DAG: foo.score
19-
# CHECK-METRICS-DAG: foo.hash
20-
# CHECK-METRICS2-NOT: foo.unknown
16+
# CHECK-METRICS-DAG: "name": "nts.foo"
17+
# CHECK-METRICS-DAG: "exec":
18+
# CHECK-METRICS-DAG: "compile":
19+
# CHECK-METRICS-DAG: "score":
20+
# CHECK-METRICS-DAG: "hash":
21+
# CHECK-METRICS2-NOT: "unknown":

tests/runtest/test_suite.shtest

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@
1919

2020
# CHECK-REPORT: "no_errors": "True",
2121
# CHECK-REPORT: "run_order": "154331"
22-
# CHECK-REPORT: "Name": "nts.foo.compile"
23-
# CHECK-REPORT: "Name": "nts.foo.exec"
24-
# CHECK-REPORT: "Name": "nts.foo.hash"
25-
# CHECK-REPORT: "Name": "nts.foo.score"
22+
# CHECK-REPORT: "compile": 1.3
23+
# CHECK-REPORT: "exec": 1.4
24+
# CHECK-REPORT: "hash": "xyz"
25+
# CHECK-REPORT: "name": "nts.foo"
26+
# CHECK-REPORT: "score": 1.5
2627
#
2728
# CHECK-BASIC: Inferred C++ compiler under test
2829
# CHECK-BASIC: Configuring

0 commit comments

Comments
 (0)