tests: search_tests_git filters out zzz_tests (we do not want to execute them)
authorJean Privat <jean@pryen.org>
Sat, 13 Jun 2015 02:14:21 +0000 (22:14 -0400)
committerJean Privat <jean@pryen.org>
Tue, 16 Jun 2015 18:16:25 +0000 (14:16 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

tests/search_tests_git.sh

index 6568463..2cf05ab 100755 (executable)
@@ -30,7 +30,7 @@ err=0
 moretests="base_compile.nit base_attr.nit base_gen.nit base_gen_reassign.nit"
 
 # Get the modified files
-git diff --name-only $from..$to -- "../*.nit" "*.res" > git_search_tests.out
+git diff --name-only $from..$to -- "../*.nit" "*.res" | grep -v zzz_test > git_search_tests.out
 
 # filter it trough ./search_tests.sh
 ./search_tests.sh $moretests `cat git_search_tests.out` 2> /dev/null | sort -u