19 lines · plain
1RUN: rm -rf %t && mkdir %t2 3# Check --global-value-regex.4RUN: cp %S/Inputs/global-value-regex.c %t/test.c5RUN: %update_cc_test_checks %t/test.c --check-globals \6RUN: --global-value-regex "foo\.."7RUN: diff -u %S/Inputs/global-value-regex.c.expected %t/test.c8 9# Check that the generated directives actually work correctly.10RUN: cp %S/Inputs/lit.cfg.example %t/lit.cfg11# Show lit failures while avoiding confusing FileCheck input dump nesting.12RUN: %lit %t13# Lit was successful. Sanity-check the results with deterministic test order.14RUN: rm %t/.lit_test_times.txt15RUN: %lit %t 2>&1 | FileCheck %s16 17CHECK: Testing: 1 tests18CHECK: PASS: {{.*}} test.c19