llvm.org GIT mirror llvm / release_70 utils / lit / tests / test-data.py
release_70

Tree @release_70 (Download .tar.gz)

test-data.py @release_70raw · history · blame

# Test features related to formats which support reporting additional test data.

# RUN: %{lit} -j 1 -v %{inputs}/test-data > %t.out
# RUN: FileCheck < %t.out %s

# CHECK: -- Testing:

# CHECK: PASS: test-data :: metrics.ini
# CHECK-NEXT: *** TEST 'test-data :: metrics.ini' RESULTS ***
# CHECK-NEXT: value0: 1
# CHECK-NEXT: value1: 2.3456
# CHECK-NEXT: ***