From 23ad39503e6648ea870e118f1f613cffdbab6448 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sun, 27 Dec 2015 15:07:24 +0300 Subject: ldc: Notes on failing tests --- gn/packages/dlanguage.scm | 7 ------- ldc-disable-tests.patch | 6 ++++++ 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 + diff --git a/std/datetime.d b/std/datetime.d index 8e4ed3b..6c15bc5 100644 --- a/std/datetime.d -- cgit v1.2.3