reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
   51
# RUN: %{lit} -j 1 -v %{inputs}/test-data-micro --output %t.results.out
# RUN: FileCheck < %t.results.out %s
# RUN: rm %t.results.out


# CHECK: {
# CHECK: "__version__"
# CHECK: "elapsed"
# CHECK-NEXT: "tests": [
# CHECK-NEXT:   {
# CHECK-NEXT:     "code": "PASS",
# CHECK-NEXT:     "elapsed": null,
# CHECK-NEXT:     "metrics": {
# CHECK-NEXT:       "micro_value0": 4,
# CHECK-NEXT:       "micro_value1": 1.3
# CHECK-NEXT:     },
# CHECK-NEXT:     "name": "test-data-micro :: micro-tests.ini:test{{[0-2]}}",
# CHECK-NEXT:     "output": ""
# CHECK-NEXT:   },
# CHECK-NEXT:   {
# CHECK-NEXT:     "code": "PASS",
# CHECK-NEXT:     "elapsed": null,
# CHECK-NEXT:     "metrics": {
# CHECK-NEXT:       "micro_value0": 4,
# CHECK-NEXT:       "micro_value1": 1.3
# CHECK-NEXT:     },
# CHECK-NEXT:     "name": "test-data-micro :: micro-tests.ini:test{{[0-2]}}",
# CHECK-NEXT:     "output": ""
# CHECK-NEXT:   },
# CHECK-NEXT:   {
# CHECK-NEXT:     "code": "PASS",
# CHECK-NEXT:     "elapsed": null,
# CHECK-NEXT:     "metrics": {
# CHECK-NEXT:       "micro_value0": 4,
# CHECK-NEXT:       "micro_value1": 1.3
# CHECK-NEXT:     },
# CHECK-NEXT:     "name": "test-data-micro :: micro-tests.ini:test{{[0-2]}}",
# 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-micro :: micro-tests.ini",
# CHECK-NEXT:     "output": "Test passed."
# CHECK-NEXT:   }
# CHECK-NEXT: ]
# CHECK-NEXT: }