aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-06-25 23:17:06 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-06-25 23:18:00 +0300
commit4317feca0dc1a960693e378e42af159dd9a193c8 (patch)
tree5a68411cb6bda48bb2ec94b7d03923d7e7cdd338 /tests
parent979bee263cd021dd29da77fc67e356a881c0a7de (diff)
Exclude timestamp test on MacOS, looks like broken strptime()
Diffstat (limited to 'tests')
-rw-r--r--tests/timestamp/driver.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/timestamp/driver.cxx b/tests/timestamp/driver.cxx
index 69c3e57..72301c2 100644
--- a/tests/timestamp/driver.cxx
+++ b/tests/timestamp/driver.cxx
@@ -217,9 +217,10 @@ main ()
//
assert (fail ("Apr 08 19:31:10 2016", "%b %d %H:%M:%S %Y %"));
- // Error is not detected on FreeBSD 11 with Clang/libc++ 3.8.0.
+ // Error is not detected on FreeBSD 11 with Clang/libc++ 3.8.0 and on
+ // MacOS 10.13 Clang/libc++ 5.0.
//
-#ifndef __FreeBSD__
+#if !(defined(__FreeBSD__) || defined(__APPLE__))
assert (fail ("Apr 08 19:31:10", "%b %d %H:%M:%S %Y"));
#endif