tests: add a tool for mass updates

When we update some output format, too many adjustements must be made
by hand.  This script updates most tests based on the actual output
made during the tests.

* build-aux/update-test: New.
This commit is contained in:
Akim Demaille
2019-02-16 07:31:36 +01:00
parent af99826ef4
commit 75303c61d8
2 changed files with 98 additions and 0 deletions

View File

@@ -195,6 +195,11 @@ update.
** make check
Use liberally.
** Updating the expectations
Sometimes some changes have a large impact on the test suite (e.g., when we
added the "[-Wother]" part to all the warnings). Part of the update can be
done with a crude tool: tests/update-test. Read it for more information.
** TESTSUITEFLAGS
To run just the testsuite (not the tests related to the examples), run `make