Files
clang-p2996/llvm/test/tools/UpdateTestChecks/update_test_checks/if_target.test
Elvina Yakubova c35ea627df update_test_checks: recognize %if in RUN line (#108972)
Recognize %if for target-specific cases in RUN line and keep only tool
command with options
2024-09-23 12:44:42 +01:00

6 lines
375 B
Plaintext

## Basic test checking that update_test_checks.py works correctly with %if in RUN line
# RUN: cp -f %S/Inputs/if_target.ll %t.ll && %update_test_checks %t.ll --version 4
# RUN: diff -u %t.ll %S/Inputs/if_target.ll.expected
## Check that running the script again does not change the result:
# RUN: %update_test_checks %t.ll
# RUN: diff -u %t.ll %S/Inputs/if_target.ll.expected