Make runtests work properly in non-HOST builds.

This commit is contained in:
Andrew Johnson
2006-11-20 17:38:36 +00:00
parent 26f27b3a69
commit e100e141a6

View File

@@ -315,7 +315,7 @@ $(OBJLIB_MUNCHNAME):%.munch : %_ctdt$(OBJ) %$(OBJ)
@$(RM) $@
$(MUNCH_CMD)
runtests: $(TESTSCRIPTS_HOST)
runtests: $(TESTSCRIPTS_$(BUILD_CLASS))
$(PERL) -e 'use Test::Harness; runtests @ARGV if @ARGV;' $^
# If there's a perl test script (.plt) available, use it