brintos

brintos / llvm-project-archived public Read only

0
0
Text · 726 B · 6ff06b4 Raw
20 lines · plain
1RUN: rm -rf %t && mkdir %t2 3# Check --global-hex-value-regex.4RUN: cp %S/Inputs/global-hex-value-regex.c %t/test.c5RUN: %update_cc_test_checks %t/test.c --check-globals \6RUN:     --global-value-regex "foo\..*" "bar\..*" \7RUN:     --global-hex-value-regex ".*\.hex"8RUN: diff -u %S/Inputs/global-hex-value-regex.c.expected %t/test.c9 10# Check that the generated directives actually work correctly.11RUN: cp %S/Inputs/lit.cfg.example %t/lit.cfg12# Show lit failures while avoiding confusing FileCheck input dump nesting.13RUN: %lit %t14# Lit was successful.  Sanity-check the results with deterministic test order.15RUN: rm %t/.lit_test_times.txt16RUN: %lit %t 2>&1 | FileCheck %s17 18CHECK: Testing: 1 tests19CHECK: PASS: {{.*}} test.c20