tests: add --autosav to automatically update the sav directory.
authorJean Privat <jean@pryen.org>
Tue, 14 Apr 2015 11:11:11 +0000 (18:11 +0700)
committerJean Privat <jean@pryen.org>
Tue, 14 Apr 2015 11:11:11 +0000 (18:11 +0700)
commite41ede01c01d938f1c6049b486a055a108a4617c
tree71a34b5c7cd413d9b15adfae05eba0ccc669b80b
parent2ef74df2c2b1eb3e370b1dc6a59307fae07e1ee0
tests: add --autosav to automatically update the sav directory.

Advantages:

* avoid manual error-prone update (especially on large tests)
* diffs on the sav/ files may be easier to see with git tools

Drawbacks:

* the wrong sav dir can by used for specific engines/uname/etc.
* manual inspection still required

Signed-off-by: Jean Privat <jean@pryen.org>
tests/tests.sh