diff options
author | Alban Crequy <alban.crequy@collabora.co.uk> | 2008-05-23 15:10:25 +0000 |
---|---|---|
committer | Alban Crequy <alban.crequy@collabora.co.uk> | 2008-05-23 15:10:25 +0000 |
commit | afab4ea0a6846ac8f4bc90eec91f6841cb5b7256 (patch) | |
tree | 47049ed70e0fef5e7df1d87f1f92d27a817dd80e /rules/check.mak | |
parent | 3cc9ede38bbe8c387259585b8d8a82226ec36049 (diff) | |
download | telepathy-salut-afab4ea0a6846ac8f4bc90eec91f6841cb5b7256.tar.gz |
Make tests work even when '.' is not in the $PATH
20080523151025-a41c0-d2952b763c2ee3b40a2e43b7e8416402a4f0f2a8.gz
Diffstat (limited to 'rules/check.mak')
-rw-r--r-- | rules/check.mak | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rules/check.mak b/rules/check.mak index 44d9fb5f..2cf56f7e 100644 --- a/rules/check.mak +++ b/rules/check.mak @@ -5,22 +5,22 @@ CLEANFILES += valgrind.*.log # if the test fails, run it again at at least debug level 2 %.check: % @$(TESTS_ENVIRONMENT) \ - $* || \ + ./$* || \ $(TESTS_ENVIRONMENT) \ GIBBER_DEBUG=all \ - $* + ./$* # run any given test in a loop %.torture: % @for i in `seq 1 $(LOOPS)`; do \ $(TESTS_ENVIRONMENT) \ - $*; done + ./$*; done # run any given test in an infinite loop %.forever: % @while true; do \ $(TESTS_ENVIRONMENT) \ - $* || break; done + ./$* || break; done # valgrind any given test by running make test.valgrind %.valgrind: % |