diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-02-13 00:28:57 +0100 |
|---|---|---|
| committer | Christopher Li <sparse@chrisli.org> | 2017-02-13 09:38:12 +0800 |
| commit | fbe84decbcabf7ff8ee93da91fa33766e1732531 (patch) | |
| tree | 77177b7548f4ec65ac2aa9cb9abf58b0ddc0f7f7 | |
| parent | 2958bb18c166468848d7046e04fbfcb3daba447e (diff) | |
| download | sparse-dev-fbe84decbcabf7ff8ee93da91fa33766e1732531.tar.gz | |
allow to launch the test suite from the project root dir
The test suite must be run from the validation/ dir
which is sometimes slightly annoying.
Change that by letting the script to first do a cd to
the validation dir.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Christopher Li <sparse@chrisli.org>
| -rwxr-xr-x | validation/test-suite | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/validation/test-suite b/validation/test-suite index 8692bfe9..b6ec5655 100755 --- a/validation/test-suite +++ b/validation/test-suite @@ -2,6 +2,8 @@ #set -x +cd $(dirname "$0") + default_path=".." default_cmd="sparse \$file" tests_list=`find . -name '*.c' | sed -e 's#^\./\(.*\)#\1#' | sort` |
