1 # REQUIRES: x86-registered-target
2 ## Basic test checking that update_test_checks.py works correctly
3 # RUN: cp -f %S/Inputs/function_name.ll %t.ll && %update_test_checks %t.ll
4 # RUN: diff -u %t.ll %S/Inputs/function_name.ll.expected
5 ## Check that running the script again does not change the result:
6 # RUN: %update_test_checks %t.ll
7 # RUN: diff -u %t.ll %S/Inputs/function_name.ll.expected