mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 07:59:27 +02:00
Use gdate/date -u option to get universal time for TEST_DATETIME variable
git-svn-id: trunk@49289 -
This commit is contained in:
parent
595edf6f9b
commit
6f4617eeb3
@ -2421,7 +2421,7 @@ endif
|
||||
TEST_OUTPUTDIR=output/$(TEST_TARGETSUFFIX)
|
||||
C_SUBDIR=$(TEST_OS_TARGET)/$(TEST_CPU_TARGET)
|
||||
ifneq ($(DATE),__missing_command_DATE)
|
||||
TEST_DATETIME:=$(shell $(DATE) +%Y%m%d%H%M)
|
||||
TEST_DATETIME:=$(shell $(DATE) -u +%Y%m%d%H%M)
|
||||
else
|
||||
TEST_DATETIME="No-date"
|
||||
endif
|
||||
|
@ -111,7 +111,7 @@ C_SUBDIR=$(TEST_OS_TARGET)/$(TEST_CPU_TARGET)
|
||||
|
||||
# Date and time the testsuite was run
|
||||
ifneq ($(DATE),__missing_command_DATE)
|
||||
TEST_DATETIME:=$(shell $(DATE) +%Y%m%d%H%M)
|
||||
TEST_DATETIME:=$(shell $(DATE) -u +%Y%m%d%H%M)
|
||||
else
|
||||
# Use a spaceless string, as it will be used for file names
|
||||
TEST_DATETIME="No-date"
|
||||
|
Loading…
Reference in New Issue
Block a user