blob: 0adfb8440b36ffdb518903920e47c9a69f729d8c (
plain)
1
2
3
4
5
6
7
8
9
|
## scrub_attrs test checking that update_test_checks.py works correctly
# RUN: cp -f %S/Inputs/scrub_attrs.ll %t.ll && %update_test_checks %t.ll
# RUN: diff -u %t.ll %S/Inputs/scrub_attrs.ll.plain.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/scrub_attrs.ll.plain.expected
## Also try the --scrub-attributes flag
# RUN: %update_test_checks %t.ll --scrub-attributes
# RUN: diff -u %t.ll %S/Inputs/scrub_attrs.ll.scrub.expected
|