7 lines · plain
1## Test that update_test_checks.py can run pre-processing commands.2# RUN: cp -f %S/Inputs/pre-process.ll %t.ll && %update_test_checks --function-signature %t.ll3# RUN: diff -u %t.ll %S/Inputs/pre-process.ll.expected4## Check that running the script again does not change the result:5# RUN: %update_test_checks %t.ll6# RUN: diff -u %t.ll %S/Inputs/pre-process.ll.expected7