diff options
author | Magnus Ahltorp <map@kth.se> | 2016-10-13 15:10:20 +0200 |
---|---|---|
committer | Magnus Ahltorp <map@kth.se> | 2016-10-13 15:16:29 +0200 |
commit | c1dfe32e2ba948e62535102ab6dbafa60c3c6eda (patch) | |
tree | f645ce96cb3ec311115f3a4bba410132ca1dc2e9 /test/Makefile | |
parent | 4213c3f7987b5f2a01fb12049ae7d5b84645640d (diff) |
Make tests run independently from cwd
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile index f86ebf5..607989d 100644 --- a/test/Makefile +++ b/test/Makefile @@ -2,7 +2,6 @@ PREFIX=.. INSTDIR=$(PREFIX)/catlfish -SOFTHSM=/usr/local/bin/softhsm2-util tests-start: ./scripts/light-system-test-start.sh @@ -19,7 +18,9 @@ tests-makemk: tests: @make tests-makemk - ./scripts/light-system-test.sh + rm -r $(INSTDIR)/tests || true + mkdir $(INSTDIR)/tests + (cd $(INSTDIR)/tests && ../../test/scripts/light-system-test.sh) tests-createca: mkdir $(INSTDIR)/tests/httpsca |