소스 검색

* always add -Fd to the compiler command line parameters, because the
directory cache significantly slows down running the testsuite (most
tests only use very few units, and are located in directories
containing hundreds or thousands of other, unrelated files)

git-svn-id: trunk@21761 -

Jonas Maebe 13 년 전
부모
커밋
b07f8b42fd
2개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tests/Makefile
  2. 5 0
      tests/Makefile.fpc

+ 1 - 0
tests/Makefile

@@ -1898,6 +1898,7 @@ endif
 ifndef TEST_OPT
 TEST_OPT=
 endif
+override TEST_OPT+=-Fd
 ifndef TEST_FPC_VERSION
 TEST_FPC_COMPILERINFO:=$(shell $(TEST_FPC) -iVSPTPSOTODW)
 TEST_FPC_VERSION:=$(word 1,$(TEST_FPC_COMPILERINFO))

+ 5 - 0
tests/Makefile.fpc

@@ -36,6 +36,11 @@ ifndef TEST_OPT
 TEST_OPT=
 endif
 
+# disable directory cache; completely loading all directories significantly
+# slows down running the testsuite because the programs use very few units
+# and most testsuite directories contain thousands of files
+override TEST_OPT+=-Fd
+
 # Retrieve Test compiler info
 ifndef TEST_FPC_VERSION
 TEST_FPC_COMPILERINFO:=$(shell $(TEST_FPC) -iVSPTPSOTODW)