llvm-project/llvm/test/tools/UpdateTestChecks
Johannes Doerfert 1698cc7eba [Utils] Allow "on-the-fly" argument changes for update_test_check scripts
Update test scripts were limited because they performed a single action
on the entire file and if that action was controlled by arguments, like
the one introduced in D68819, there was no record of it.

This patch introduces the capability of changing the arguments passed to
the script "on-the-fly" while processing a test file. In addition, an
"on/off" switch was added so that processing can be disabled for parts
of the file where the content is simply copied. The last extension is a
record of the invocation arguments in the auto generated NOTE. These
arguments are also picked up in a subsequent invocation, allowing
updates with special options enabled without user interaction.

To change the arguments the string `UTC_ARGS:` has to be present in a
line, followed by "additional command line arguments". That is
everything that follows `UTC_ARGS:` will be added to a growing list
of "command line arguments" which is reparsed after every update.

Reviewed By: arichardson

Differential Revision: https://reviews.llvm.org/D69701
2020-02-11 16:29:46 -06:00
..
update_cc_test_checks Re-enable a update_cc_test_checks.py tests 2020-02-05 15:37:30 +00:00
update_llc_test_checks
update_test_checks [Utils] Allow "on-the-fly" argument changes for update_test_check scripts 2020-02-11 16:29:46 -06:00
lit.local.cfg Bring back the tests for update_cc_tests_checks.py 2020-01-30 14:58:25 +00:00