From cd034e872d1a273961ef5612239d5e8168eb8843 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 24 Apr 2014 04:05:40 +0200 Subject: tests: run from anywhere --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f9cf1a8..836ff91 100644 --- a/Makefile +++ b/Makefile @@ -65,7 +65,7 @@ TESTS = $(sort $(wildcard tests/t[0-9][0-9][0-9][0-9]-*.sh)) test: $(TESTS) $(TESTS): - @cd $$(dirname "$@") && ./$$(basename "$@") $(PASS_TEST_OPTS) + @$@ $(PASS_TEST_OPTS) clean: $(RM) -rf tests/test-results/ tests/trash\ directory.*/ tests/gnupg/random_seed -- cgit v1.2.3-59-g8ed1b