Some tests in clang require running non-filechecked commands to generate the actual filecheck input. For example, tests for openmp offloading require generating the host bc without any checking, before running the clang command to actually generate the filechecked IR of the target device. This patch enables `update_cc_test_checks.py` to run non-filechecked run lines in-place. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D97068
9 lines
410 B
Plaintext
9 lines
410 B
Plaintext
## Test that non-clang/non-filechecked runlines execute
|
|
|
|
# RUN: cp %S/Inputs/exec-all-runlines.c %t-generated.c && %update_cc_test_checks %t-generated.c
|
|
# RUN: diff -u %S/Inputs/exec-all-runlines.c.expected %t-generated.c
|
|
|
|
## Check that re-running update_cc_test_checks doesn't change the output
|
|
# RUN: %update_cc_test_checks %t-generated.c
|
|
# RUN: diff -u %S/Inputs/exec-all-runlines.c.expected %t-generated.c
|