"build system: convert stest and mtest to Subdir.mk" broke this by
referring to the wrong paths.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
&TESTNAMES := $(patsubst t-%,%,$(notdir $(&TESTSCRIPTS)))
&DEPS += $(src)/test-common.tcl
-&DEPS += $(src)/common.make
+&DEPS += common.make
&DEPS += $(src)/test-common.sd.mk
&DEPS += &/Subdir.mk
@export SECNET_TEST_BUILDDIR=$(topbuilddir); \
export PYTHONBYTECODEBASE=/dev/null; \
cd $(src) && \
- &^/t-$* >&d-$*/log 2>\&1 \
- || { cat &d-$*/log >\&2; false; }
+ &/t-$* >$(topbuilddir)/&/d-$*/log 2>\&1 \
+ || { cat $(topbuilddir)/&/d-$*/log >\&2; false; }
@printf "&/$* "
@touch $@