diff options
author | Pjotr Prins | 2015-12-27 10:53:07 +0300 |
---|---|---|
committer | Pjotr Prins | 2015-12-27 10:53:07 +0300 |
commit | 57f3a825f579de4deb9c2cb35410418ee358f487 (patch) | |
tree | 7b731cdc1df8f50431c83b701240956a9b872bb9 /ldc-disable-tests.patch | |
parent | 2c00e4a0a21d938137e8e7648b29c0b0f753d06d (diff) | |
download | guix-bioinformatics-57f3a825f579de4deb9c2cb35410418ee358f487.tar.gz |
ldc: trying to fix test
Diffstat (limited to 'ldc-disable-tests.patch')
-rw-r--r-- | ldc-disable-tests.patch | 11 |
1 files changed, 10 insertions, 1 deletions
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 |