Merge: Clean tests
authorJean Privat <jean@pryen.org>
Fri, 29 Aug 2014 01:20:40 +0000 (21:20 -0400)
committerJean Privat <jean@pryen.org>
Fri, 29 Aug 2014 01:20:40 +0000 (21:20 -0400)
commiteb35f7e33da66fe0e0f4601dcc0861626a3a85f8
treea3f91b67690278641e06bee3417f86b935363db5
parentdf1e08b3b23b2b1d7cbedd820d6eece12c66f7da
parent1f35cafab3d0a8f2dd534b3e11f912327e32d646
Merge: Clean tests

Great scripts to test stuff; most come from unpublished scripts from our Jenkins instance.
A lot of cleaning in the tests/sav directory.
And some unpublished tests

The `search_tests.sh` script is quite useful to retrieve the original program for some test:
~~~.sh
$ ./search_tests.sh hello_world sav/base_var_type_evolution_null_alt3.res
../examples/hello_world.nit
base_var_type_evolution_null.nit
~~~

It will be also used by Jenkins to check that each sav/*res file has a corresponding test; since commit 'tests: add missing test files whose sav files where committed' show that sometime the .res are committed but without the corresponding .nit

The `search_tests_git.sh` looks in the git commit to found modified things to tests.
Basically, the simple usage is to perform all engines on the result:

~~~.sh
$ ./testall.sh `./search_tests_git.sh origin/master HEAD`
~~~

Pull-Request: #691
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>