chiark / gitweb /
test-common.make: Fix hardcoded stest references
[secnet.git] / test-common.make.in
index fb823352c7fc0692572f08a2423323c98c3d4456..91c00dd8ad6b00f82daf336a413ea97f158235ab 100644 (file)
@@ -15,7 +15,7 @@ check-real: $(foreach t,$(TESTNAMES),d-$t/ok)
 d-%/ok: $(srcdir)/t-% $(DEPS)
        @rm -rf d-$*; mkdir d-$*
        export STEST_BUILDDIR=$(topbuilddir); \
-       cd $(topdir) && stest/t-$* >$(topbuilddir)/stest/d-$*/log 2>&1
+       cd $(topdir) && $(TESTDIR)/t-$* >$(topbuilddir)/$(TESTDIR)/d-$*/log 2>&1
        @printf "$* "
        @touch $@