Browse Source

* create subdir before copying files in copyfi

peter 21 years ago
parent
commit
fe3e45cc69
2 changed files with 2 additions and 0 deletions
  1. 1 0
      tests/Makefile
  2. 1 0
      tests/Makefile.fpc

+ 1 - 0
tests/Makefile

@@ -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

+ 1 - 0
tests/Makefile.fpc

@@ -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
 
 ################################