* create subdir before copying files in copyfi

This commit is contained in:
peter 2004-11-09 20:33:47 +00:00
parent 7c0b6e129e
commit fe3e45cc69
2 changed files with 2 additions and 0 deletions

View File

@ -1551,6 +1551,7 @@ units:
OPT="$(TEST_OPT)" CCOMPILER=$(TEST_CCOMPILER) BINUTILSPREFIX=$(TEST_BINUTILSPREFIX)
copyfiles: $(TEST_OUTPUTDIR)
$(COPY) test/cg/obj/$(TEST_OS_TARGET)/$(TEST_CPU_TARGET)/ctest.o test/cg
-$(MKDIRTREE) $(TEST_OUTPUTDIR)/tests/units/system
$(COPY) test/units/system/test*.txt $(TEST_OUTPUTDIR)/tests/units/system
testprep: testprep-stamp.$(TEST_FULL_TARGET)
testprep-stamp.$(TEST_FULL_TARGET): $(TEST_OUTPUTDIR) utils units copyfiles

View File

@ -142,6 +142,7 @@ units:
copyfiles: $(TEST_OUTPUTDIR)
$(COPY) test/cg/obj/$(TEST_OS_TARGET)/$(TEST_CPU_TARGET)/ctest.o test/cg
-$(MKDIRTREE) $(TEST_OUTPUTDIR)/tests/units/system
$(COPY) test/units/system/test*.txt $(TEST_OUTPUTDIR)/tests/units/system
################################