From 57f3a825f579de4deb9c2cb35410418ee358f487 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sun, 27 Dec 2015 10:53:07 +0300 Subject: ldc: trying to fix test --- ldc-disable-tests.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'ldc-disable-tests.patch') diff --git a/ldc-disable-tests.patch b/ldc-disable-tests.patch index 1e13ea6..67f55e3 100644 --- a/ldc-disable-tests.patch +++ b/ldc-disable-tests.patch @@ -1,5 +1,5 @@ diff --git a/std/datetime.d b/std/datetime.d -index 8e4ed3b..1be9099 100644 +index 8e4ed3b..4a733e6 100644 --- a/std/datetime.d +++ b/std/datetime.d @@ -28018,6 +28018,7 @@ public: @@ -10,6 +10,15 @@ index 8e4ed3b..1be9099 100644 enum defaultTZDatabaseDir = "/usr/share/zoneinfo/"; } else version(Windows) +@@ -28076,7 +28077,7 @@ assert(tz.dstName == "PDT"); + + immutable file = buildNormalizedPath(tzDatabaseDir, name); + +- enforce(file.exists(), new DateTimeException(format("File %s does not exist.", file))); ++ enforce(file.exists(), new DateTimeException(format("File %s does not exist in %s.", file, tzDatabaseDir))); + enforce(file.isFile, new DateTimeException(format("%s is not a file.", file))); + + auto tzFile = File(file); diff --git a/std/path.d b/std/path.d index 254d8f0..b0fc04d 100644 --- a/std/path.d -- cgit v1.2.3