Pārlūkot izejas kodu

Use TEST_USE_LONGLOG by default, but check TEST_DISABLE_LONGLOG before setting it to 1

git-svn-id: trunk@44114 -
pierre 5 gadi atpakaļ
vecāks
revīzija
b77cd3a3e7
2 mainītis faili ar 8 papildinājumiem un 0 dzēšanām
  1. 3 0
      tests/Makefile
  2. 5 0
      tests/Makefile.fpc

+ 3 - 0
tests/Makefile

@@ -2148,6 +2148,9 @@ endif
 ifndef TEST_OPT
 ifndef TEST_OPT
 TEST_OPT=
 TEST_OPT=
 endif
 endif
+ifndef TEST_DISABLE_LONGLOG
+TEST_USE_LONGLOG=1
+endif
 override TEST_OPT+=-Fd
 override TEST_OPT+=-Fd
 ifndef TEST_FPC_VERSION
 ifndef TEST_FPC_VERSION
 TEST_FPC_COMPILERINFO:=$(shell $(TEST_FPC) -iVSPTPSOTODW)
 TEST_FPC_COMPILERINFO:=$(shell $(TEST_FPC) -iVSPTPSOTODW)

+ 5 - 0
tests/Makefile.fpc

@@ -36,6 +36,11 @@ ifndef TEST_OPT
 TEST_OPT=
 TEST_OPT=
 endif
 endif
 
 
+# Use TEST_USE_LONGLOG by default, as it transfers less data to server
+ifndef TEST_DISABLE_LONGLOG
+TEST_USE_LONGLOG=1
+endif
+
 # disable directory cache; completely loading all directories significantly
 # disable directory cache; completely loading all directories significantly
 # slows down running the testsuite because the programs use very few units
 # slows down running the testsuite because the programs use very few units
 # and most testsuite directories contain thousands of files
 # and most testsuite directories contain thousands of files