aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2015-12-27 15:07:24 +0300
committerPjotr Prins2015-12-27 15:07:24 +0300
commit23ad39503e6648ea870e118f1f613cffdbab6448 (patch)
tree67eabadb9c0a9eb118308642eb314d2d3c693e6e
parentc324e7904ccef4e23c985cd2bedd9aef55ef4aa8 (diff)
downloadguix-bioinformatics-23ad39503e6648ea870e118f1f613cffdbab6448.tar.gz
ldc: Notes on failing tests
-rw-r--r--gn/packages/dlanguage.scm7
-rw-r--r--ldc-disable-tests.patch6
2 files changed, 6 insertions, 7 deletions
diff --git a/gn/packages/dlanguage.scm b/gn/packages/dlanguage.scm
index dccee0c..60a6fea 100644
--- a/gn/packages/dlanguage.scm
+++ b/gn/packages/dlanguage.scm
@@ -43,13 +43,6 @@
(build-system cmake-build-system)
(supported-systems '("x86_64-linux" "i686-linux"))
(arguments `(
- ;; When #:tests? set to #t only the following tests FAILED:
- ;; 243 - std.datetime (Failed) ;; Directory /usr/share/zoneinfo/ does not exist.
- ;; See ./build/Testing/Temporary/LastTest.log for executing (individual) tests
- ;; Note: Run cmake as an out of build directory
- ;; in build: cmake ../ldc-0.16.1
- ;; and in runtime: cmake --build /tmp/nix-build-ldc-0.16.1.drv-4/build --target phobos2-ldc-unittest-debug -- -j 8
- ;; run phobos2-test-runner-debug std.datetime
#:tests? #t
#:phases
(modify-phases %standard-phases
diff --git a/ldc-disable-tests.patch b/ldc-disable-tests.patch
index df94732..3527303 100644
--- a/ldc-disable-tests.patch
+++ b/ldc-disable-tests.patch
@@ -1,3 +1,9 @@
+This patch fixes a failing unit test by feeding buildNormalizedPath to the
+tzdata properly. Three other tests are disables, one assumes /root and the
+two others use networking.
+
+by Pjotr Prins <pjotr.guix@thebird.nl>
+
diff --git a/std/datetime.d b/std/datetime.d
index 8e4ed3b..6c15bc5 100644
--- a/std/datetime.d