浏览代码

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

git-svn-id: trunk@44114 -
pierre 5 年之前
父节点
当前提交
b77cd3a3e7
共有 2 个文件被更改,包括 8 次插入0 次删除
  1. 3 0
      tests/Makefile
  2. 5 0
      tests/Makefile.fpc

+ 3 - 0
tests/Makefile

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

+ 5 - 0
tests/Makefile.fpc

@@ -36,6 +36,11 @@ ifndef TEST_OPT
 TEST_OPT=
 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
 # slows down running the testsuite because the programs use very few units
 # and most testsuite directories contain thousands of files