unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob ee7307785875b3b270c3ee33a0b473f77aaabfe3 4484 bytes (raw)
name: gnu/packages/patches/ldc-0.17.1-disable-tests.patch 	 # note: path name is non-authoritative(*)

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
 
Only in b/std: algorithm
Only in b/std: array.d
Only in b/std: ascii.d
Only in b/std: base64.d
Only in b/std: bigint.d
Only in b/std: bitmanip.d
Only in b/std: c
Only in b/std: compiler.d
Only in b/std: complex.d
Only in b/std: concurrency.d
Only in b/std: container
Only in b/std: conv.d
Only in b/std: cstream.d
Only in b/std: csv.d
diff -ru a/std/datetime.d b/std/datetime.d
--- a/std/datetime.d	2016-08-02 23:56:13.969292202 +0200
+++ b/std/datetime.d	2016-08-02 23:57:39.078408313 +0200
@@ -28080,9 +28080,6 @@
         import std.algorithm : sort;
         import std.range : retro;
         import std.format : format;
-
-        name = strip(name);
-
         enforce(tzDatabaseDir.exists(), new DateTimeException(format("Directory %s does not exist.", tzDatabaseDir)));
         enforce(tzDatabaseDir.isDir, new DateTimeException(format("%s is not a directory.", tzDatabaseDir)));
 
@@ -28094,7 +28091,10 @@
             immutable file = buildNormalizedPath(tzDatabaseDir, tzFilename);
         }
         else
-            immutable file = buildNormalizedPath(tzDatabaseDir, name);
+        {
+            auto filename = "./" ~ strip(name); // make sure the prefix is not stripped
+            immutable file = buildNormalizedPath(tzDatabaseDir, filename);
+        }
 
         enforce(file.exists(), new DateTimeException(format("File %s does not exist.", file)));
         enforce(file.isFile, new DateTimeException(format("%s is not a file.", file)));
Only in b/std: datetime.d.orig
Only in b/std: demangle.d
Only in b/std: digest
Only in b/std: encoding.d
Only in b/std: exception.d
Only in b/std: experimental
Only in b/std: file.d
Only in b/std: format.d
Only in b/std: functional.d
Only in b/std: getopt.d
Only in b/std: internal
Only in b/std: json.d
Only in b/std: math.d
Only in b/std: mathspecial.d
Only in b/std: meta.d
Only in b/std: metastrings.d
Only in b/std: mmfile.d
Only in b/std: net
Only in b/std: numeric.d
Only in b/std: outbuffer.d
Only in b/std: parallelism.d
diff -ru a/std/path.d b/std/path.d
--- a/std/path.d	2016-08-02 23:56:03.781158908 +0200
+++ b/std/path.d	2016-08-02 23:54:06.111624406 +0200
@@ -3724,8 +3724,8 @@
         }
         else
         {
-            assert(expandTilde("~root") == "/root", expandTilde("~root"));
-            assert(expandTilde("~root/") == "/root/", expandTilde("~root/"));
+            //assert(expandTilde("~root") == "/root", expandTilde("~root"));
+            //assert(expandTilde("~root/") == "/root/", expandTilde("~root/"));
         }
         assert(expandTilde("~Idontexist/hey") == "~Idontexist/hey");
     }
Only in b/std: path.d.orig
Only in b/std: process.d
Only in b/std: random.d
Only in b/std: range
Only in b/std: regex
Only in b/std: signals.d
diff -ru a/std/socket.d b/std/socket.d
--- a/std/socket.d	2016-08-02 23:56:22.881408857 +0200
+++ b/std/socket.d	2016-08-03 10:09:44.761019447 +0200
@@ -501,18 +501,19 @@
 version(CRuntime_Bionic) {} else
 unittest
 {
-    softUnittest({
+    pragma(msg, "test disabled on GNU Guix");
+    //softUnittest({
         Protocol proto = new Protocol;
-        assert(proto.getProtocolByType(ProtocolType.TCP));
+        //assert(proto.getProtocolByType(ProtocolType.TCP));
         //writeln("About protocol TCP:");
         //writefln("\tName: %s", proto.name);
         // foreach(string s; proto.aliases)
         // {
         //      writefln("\tAlias: %s", s);
         // }
-        assert(proto.name == "tcp");
-        assert(proto.aliases.length == 1 && proto.aliases[0] == "TCP");
-    });
+        //assert(proto.name == "tcp");
+        //assert(proto.aliases.length == 1 && proto.aliases[0] == "TCP");
+    //});
 }
 
 
@@ -842,6 +843,8 @@
 
 unittest
 {
+    pragma(msg, "test disabled on GNU Guix");
+    /*
     InternetHost ih = new InternetHost;
 
     ih.getHostByAddr(0x7F_00_00_01);
@@ -872,6 +875,7 @@
         //      writefln("aliases[%d] = %s", i, s);
         // }
     });
+    */
 }
 
 
Only in b/std: socket.d.orig
Only in b/std: socketstream.d
Only in b/std: stdint.d
Only in b/std: stdiobase.d
Only in b/std: stdio.d
Only in b/std: stream.d
Only in b/std: string.d
Only in b/std: syserror.d
Only in b/std: system.d
Only in b/std: traits.d
Only in b/std: typecons.d
Only in b/std: typelist.d
Only in b/std: typetuple.d
Only in b/std: uni.d
Only in b/std: uri.d
Only in b/std: utf.d
Only in b/std: uuid.d
Only in b/std: variant.d
Only in b/std: windows
Only in b/std: xml.d
Only in b/std: zip.d
Only in b/std: zlib.d

debug log:

solving ee73077 ...
found ee73077 in https://yhetil.org/guix-devel/20160913103042.7302-4-dannym@scratchpost.org/ ||
	https://yhetil.org/guix-devel/20160913193755.9618-1-dannym@scratchpost.org/ ||
	https://yhetil.org/guix-devel/20160913195140.14510-1-dannym@scratchpost.org/

applying [1/1] https://yhetil.org/guix-devel/20160913103042.7302-4-dannym@scratchpost.org/
diff --git a/gnu/packages/patches/ldc-0.17.1-disable-tests.patch b/gnu/packages/patches/ldc-0.17.1-disable-tests.patch
new file mode 100644
index 0000000..ee73077

1:33: trailing whitespace.
 
1:43: trailing whitespace.
 
1:113: trailing whitespace.
 
1:114: trailing whitespace.
 
1:116: trailing whitespace.
 
Checking patch gnu/packages/patches/ldc-0.17.1-disable-tests.patch...
Applied patch gnu/packages/patches/ldc-0.17.1-disable-tests.patch cleanly.
warning: squelched 3 whitespace errors
warning: 8 lines add whitespace errors.

skipping https://yhetil.org/guix-devel/20160913193755.9618-1-dannym@scratchpost.org/ for ee73077
skipping https://yhetil.org/guix-devel/20160913195140.14510-1-dannym@scratchpost.org/ for ee73077
index at:
100644 ee7307785875b3b270c3ee33a0b473f77aaabfe3	gnu/packages/patches/ldc-0.17.1-disable-tests.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).