Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: third_party/lit/tests/test-output.py

Issue 1663053003: [fusl] Add llvm's lit tool to third_party (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: move down a dir Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/lit/tests/test-data.py ('k') | third_party/lit/tests/unittest-adaptor.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # RUN: %{lit} -j 1 -v %{inputs}/test-data --output %t.results.out > %t.out
2 # RUN: FileCheck < %t.results.out %s
3
4 # CHECK: {
5 # CHECK: "__version__"
6 # CHECK: "elapsed"
7 # CHECK-NEXT: "tests": [
8 # CHECK-NEXT: {
9 # CHECK-NEXT: "code": "PASS",
10 # CHECK-NEXT: "elapsed": {{[0-9.]+}},
11 # CHECK-NEXT: "metrics": {
12 # CHECK-NEXT: "value0": 1,
13 # CHECK-NEXT: "value1": 2.3456
14 # CHECK-NEXT: }
15 # CHECK-NEXT: "name": "test-data :: metrics.ini",
16 # CHECK-NEXT: "output": "Test passed."
17 # CHECK-NEXT: }
18 # CHECK-NEXT: ]
19 # CHECK-NEXT: }
OLDNEW
« no previous file with comments | « third_party/lit/tests/test-data.py ('k') | third_party/lit/tests/unittest-adaptor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698