xref: /llvm-project/llvm/test/tools/UpdateTestChecks/update_test_checks/function-name.test (revision ce0eb81c72749d1e96cfc6fb68af3c24b63753cc)
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
8