summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTests/StringTest.cmake.in
diff options
context:
space:
mode:
authorRuslan Baratov <ruslan_baratov@yahoo.com>2016-09-09 21:39:26 (GMT)
committerRuslan Baratov <ruslan_baratov@yahoo.com>2016-09-12 16:07:38 (GMT)
commit751f7b5255d861abc3105d3d971164293b3dec60 (patch)
treec8befd48a7df36fa6c7a25eb6922801170536478 /Tests/CMakeTests/StringTest.cmake.in
parentd5e4cdc0f8c846cdf17f3276d77d352a7644bc88 (diff)
downloadCMake-751f7b5255d861abc3105d3d971164293b3dec60.zip
CMake-751f7b5255d861abc3105d3d971164293b3dec60.tar.gz
CMake-751f7b5255d861abc3105d3d971164293b3dec60.tar.bz2
string(TIMESTAMP ...): add '%a' and '%b' format specifiers
%b: Abbreviated month name (e.g. Oct). %a: Abbreviated weekday name (e.g. Fri).
Diffstat (limited to 'Tests/CMakeTests/StringTest.cmake.in')
-rw-r--r--Tests/CMakeTests/StringTest.cmake.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/CMakeTests/StringTest.cmake.in b/Tests/CMakeTests/StringTest.cmake.in
index aba35fe..a45b205 100644
--- a/Tests/CMakeTests/StringTest.cmake.in
+++ b/Tests/CMakeTests/StringTest.cmake.in
@@ -36,6 +36,8 @@ set(TIMESTAMP-IncompleteSpecifier-RESULT 0)
set(TIMESTAMP-IncompleteSpecifier-STDERR "~foobar%~")
set(TIMESTAMP-AllSpecifiers-RESULT 0)
set(TIMESTAMP-AllSpecifiers-STDERR "~[0-9]+(;[0-9]+)*~")
+set(TIMESTAMP-MonthWeekNames-RESULT 0)
+set(TIMESTAMP-MonthWeekNames-STDERR "~[^%]+;[^%]+~")
set(TIMESTAMP-UnixTime-RESULT 0)
set(TIMESTAMP-UnixTime-STDERR "~[1-9][0-9]+~")
@@ -60,6 +62,7 @@ check_cmake_test(String
TIMESTAMP-UnknownSpecifier
TIMESTAMP-IncompleteSpecifier
TIMESTAMP-AllSpecifiers
+ TIMESTAMP-MonthWeekNames
TIMESTAMP-UnixTime
)