unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 79deb1185a6c547ede7c3dc10a24c6a0622ca8cc 11777 bytes (raw)
name: gnu/packages/patches/ldc1.1.0-disable-phobos-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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
 
diff --git a/std/datetime.d b/std/datetime.d
index 4d4afb1..2c91a44 100644
--- a/std/datetime.d
+++ b/std/datetime.d
@@ -27306,8 +27306,8 @@ public:
         // leaving it commented out until I can sort it out.
         //assert(equal(tzNames, tzNames.uniq()));
 
-        foreach(tzName; tzNames)
-            assertNotThrown!DateTimeException(testPZSuccess(tzName));
+        //foreach(tzName; tzNames)
+            //assertNotThrown!DateTimeException(testPZSuccess(tzName));
     }
 
 
@@ -29178,8 +29178,8 @@ public:
 
         auto tzNames = getInstalledTZNames();
 
-        foreach(tzName; tzNames)
-            assertNotThrown!DateTimeException(testPTZSuccess(tzName));
+        //foreach(tzName; tzNames)
+            //assertNotThrown!DateTimeException(testPTZSuccess(tzName));
 
         // No timezone directories on Android, just a single tzdata file
         version(Android) {} else
diff --git a/std/net/curl.d b/std/net/curl.d
index 9c6af66..5fccb38 100644
--- a/std/net/curl.d
+++ b/std/net/curl.d
@@ -419,7 +419,7 @@ void download(Conn = AutoProtocol)(const(char)[] url, string saveToPath, Conn co
 
 unittest
 {
-    static import std.file;
+    /*static import std.file;
     foreach (host; [testServer.addr, "http://"~testServer.addr])
     {
         testServer.handle((s) {
@@ -430,7 +430,7 @@ unittest
         scope (exit) std.file.remove(fn);
         download(host, fn);
         assert(std.file.readText(fn) == "Hello world");
-    }
+    }*/
 }
 
 /** Upload file from local files system using the HTTP or FTP protocol.
@@ -483,7 +483,7 @@ void upload(Conn = AutoProtocol)(string loadFromPath, const(char)[] url, Conn co
 
 unittest
 {
-    static import std.file;
+    /*static import std.file;
     foreach (host; [testServer.addr, "http://"~testServer.addr])
     {
         auto fn = std.file.deleteme;
@@ -496,7 +496,7 @@ unittest
             s.send(httpOK());
         });
         upload(fn, host ~ "/path");
-    }
+    }*/
 }
 
 /** HTTP/FTP get content.
@@ -551,7 +551,7 @@ T[] get(Conn = AutoProtocol, T = char)(const(char)[] url, Conn conn = Conn())
 
 unittest
 {
-    foreach (host; [testServer.addr, "http://"~testServer.addr])
+    /*foreach (host; [testServer.addr, "http://"~testServer.addr])
     {
         testServer.handle((s) {
             assert(s.recvReq.hdrs.canFind("GET /path"));
@@ -559,7 +559,7 @@ unittest
         });
         auto res = get(host ~ "/path");
         assert(res == "GETRESPONSE");
-    }
+    }*/
 }
 
 
@@ -598,7 +598,7 @@ if (is(T == char) || is(T == ubyte))
 
 unittest
 {
-    foreach (host; [testServer.addr, "http://"~testServer.addr])
+    /*foreach (host; [testServer.addr, "http://"~testServer.addr])
     {
         testServer.handle((s) {
             auto req = s.recvReq;
@@ -608,12 +608,12 @@ unittest
         });
         auto res = post(host ~ "/path", "POSTBODY");
         assert(res == "POSTRESPONSE");
-    }
+    }*/
 }
 
 unittest
 {
-    auto data = new ubyte[](256);
+    /*auto data = new ubyte[](256);
     foreach (i, ref ub; data)
         ub = cast(ubyte)i;
 
@@ -624,7 +624,7 @@ unittest
         s.send(httpOK(cast(ubyte[])[17, 27, 35, 41]));
     });
     auto res = post!ubyte(testServer.addr, data);
-    assert(res == cast(ubyte[])[17, 27, 35, 41]);
+    assert(res == cast(ubyte[])[17, 27, 35, 41]);*/
 }
 
 
@@ -680,7 +680,7 @@ T[] put(Conn = AutoProtocol, T = char, PutUnit)(const(char)[] url, const(PutUnit
 
 unittest
 {
-    foreach (host; [testServer.addr, "http://"~testServer.addr])
+    /*foreach (host; [testServer.addr, "http://"~testServer.addr])
     {
         testServer.handle((s) {
             auto req = s.recvReq;
@@ -690,7 +690,7 @@ unittest
         });
         auto res = put(host ~ "/path", "PUTBODY");
         assert(res == "PUTRESPONSE");
-    }
+    }*/
 }
 
 
@@ -742,7 +742,7 @@ void del(Conn = AutoProtocol)(const(char)[] url, Conn conn = Conn())
 
 unittest
 {
-    foreach (host; [testServer.addr, "http://"~testServer.addr])
+    /*foreach (host; [testServer.addr, "http://"~testServer.addr])
     {
         testServer.handle((s) {
             auto req = s.recvReq;
@@ -750,7 +750,7 @@ unittest
             s.send(httpOK());
         });
         del(host ~ "/path");
-    }
+    }*/
 }
 
 
@@ -796,13 +796,13 @@ T[] options(T = char, OptionsUnit)(const(char)[] url,
 
 unittest
 {
-    testServer.handle((s) {
+    /*testServer.handle((s) {
         auto req = s.recvReq;
         assert(req.hdrs.canFind("OPTIONS /path"));
         s.send(httpOK("OPTIONSRESPONSE"));
     });
     auto res = options(testServer.addr ~ "/path");
-    assert(res == "OPTIONSRESPONSE");
+    assert(res == "OPTIONSRESPONSE");*/
 }
 
 
@@ -836,13 +836,13 @@ T[] trace(T = char)(const(char)[] url, HTTP conn = HTTP())
 
 unittest
 {
-    testServer.handle((s) {
+    /*testServer.handle((s) {
         auto req = s.recvReq;
         assert(req.hdrs.canFind("TRACE /path"));
         s.send(httpOK("TRACERESPONSE"));
     });
     auto res = trace(testServer.addr ~ "/path");
-    assert(res == "TRACERESPONSE");
+    assert(res == "TRACERESPONSE");*/
 }
 
 
@@ -875,13 +875,13 @@ T[] connect(T = char)(const(char)[] url, HTTP conn = HTTP())
 
 unittest
 {
-    testServer.handle((s) {
+    /*testServer.handle((s) {
         auto req = s.recvReq;
         assert(req.hdrs.canFind("CONNECT /path"));
         s.send(httpOK("CONNECTRESPONSE"));
     });
     auto res = connect(testServer.addr ~ "/path");
-    assert(res == "CONNECTRESPONSE");
+    assert(res == "CONNECTRESPONSE");*/
 }
 
 
@@ -919,14 +919,14 @@ T[] patch(T = char, PatchUnit)(const(char)[] url, const(PatchUnit)[] patchData,
 
 unittest
 {
-    testServer.handle((s) {
+    /*testServer.handle((s) {
         auto req = s.recvReq;
         assert(req.hdrs.canFind("PATCH /path"));
         assert(req.bdy.canFind("PATCHBODY"));
         s.send(httpOK("PATCHRESPONSE"));
     });
     auto res = patch(testServer.addr ~ "/path", "PATCHBODY");
-    assert(res == "PATCHRESPONSE");
+    assert(res == "PATCHRESPONSE");*/
 }
 
 
@@ -1031,19 +1031,19 @@ private auto _basicHTTP(T)(const(char)[] url, const(void)[] sendData, HTTP clien
 
 unittest
 {
-    testServer.handle((s) {
+    /*testServer.handle((s) {
         auto req = s.recvReq;
         assert(req.hdrs.canFind("GET /path"));
         s.send(httpNotFound());
     });
     auto e = collectException!CurlException(get(testServer.addr ~ "/path"));
-    assert(e.msg == "HTTP request returned status code 404 (Not Found)");
+    assert(e.msg == "HTTP request returned status code 404 (Not Found)");*/
 }
 
 // Bugzilla 14760 - content length must be reset after post
 unittest
 {
-    testServer.handle((s) {
+    /*testServer.handle((s) {
         auto req = s.recvReq;
         assert(req.hdrs.canFind("POST /"));
         assert(req.bdy.canFind("POSTBODY"));
@@ -1061,7 +1061,7 @@ unittest
     auto res = post(testServer.addr, "POSTBODY", http);
     assert(res == "POSTRESPONSE");
     res = trace(testServer.addr, http);
-    assert(res == "TRACERESPONSE");
+    assert(res == "TRACERESPONSE");*/
 }
 
 /*
@@ -1265,14 +1265,14 @@ if (isCurlConn!Conn && isSomeChar!Char && isSomeChar!Terminator)
 
 unittest
 {
-    foreach (host; [testServer.addr, "http://"~testServer.addr])
+    /*foreach (host; [testServer.addr, "http://"~testServer.addr])
     {
         testServer.handle((s) {
             auto req = s.recvReq;
             s.send(httpOK("Line1\nLine2\nLine3"));
         });
         assert(byLine(host).equal(["Line1", "Line2", "Line3"]));
-    }
+    }*/
 }
 
 /** HTTP/FTP fetch content as a range of chunks.
@@ -1337,14 +1337,14 @@ auto byChunk(Conn = AutoProtocol)
 
 unittest
 {
-    foreach (host; [testServer.addr, "http://"~testServer.addr])
+    /*foreach (host; [testServer.addr, "http://"~testServer.addr])
     {
         testServer.handle((s) {
             auto req = s.recvReq;
             s.send(httpOK(cast(ubyte[])[0, 1, 2, 3, 4, 5]));
         });
         assert(byChunk(host, 2).equal([[0, 1], [2, 3], [4, 5]]));
-    }
+    }*/
 }
 
 private T[] _getForRange(T,Conn)(const(char)[] url, Conn conn)
@@ -1629,14 +1629,14 @@ auto byLineAsync(Conn = AutoProtocol, Terminator = char, Char = char)
 
 unittest
 {
-    foreach (host; [testServer.addr, "http://"~testServer.addr])
+    /*foreach (host; [testServer.addr, "http://"~testServer.addr])
     {
         testServer.handle((s) {
             auto req = s.recvReq;
             s.send(httpOK("Line1\nLine2\nLine3"));
         });
         assert(byLineAsync(host).equal(["Line1", "Line2", "Line3"]));
-    }
+    }*/
 }
 
 
@@ -1778,14 +1778,14 @@ auto byChunkAsync(Conn = AutoProtocol)
 
 unittest
 {
-    foreach (host; [testServer.addr, "http://"~testServer.addr])
+    /*foreach (host; [testServer.addr, "http://"~testServer.addr])
     {
         testServer.handle((s) {
             auto req = s.recvReq;
             s.send(httpOK(cast(ubyte[])[0, 1, 2, 3, 4, 5]));
         });
         assert(byChunkAsync(host, 2).equal([[0, 1], [2, 3], [4, 5]]));
-    }
+    }*/
 }
 
 
@@ -2041,7 +2041,7 @@ private mixin template Protocol()
 
     unittest
     {
-        testServer.handle((s) {
+        /*testServer.handle((s) {
             auto req = s.recvReq;
             assert(req.hdrs.canFind("GET /"));
             assert(req.hdrs.canFind("Basic dXNlcjpwYXNz"));
@@ -2051,7 +2051,7 @@ private mixin template Protocol()
         auto http = HTTP(testServer.addr);
         http.onReceive = (ubyte[] data) { return data.length; };
         http.setAuthentication("user", "pass");
-        http.perform();
+        http.perform();*/
     }
 
     /**
@@ -2959,7 +2959,7 @@ struct HTTP
 
     unittest
     {
-        testServer.handle((s) {
+        /*testServer.handle((s) {
             auto req = s.recvReq!ubyte;
             assert(req.hdrs.canFind("POST /path"));
             assert(req.bdy.canFind(cast(ubyte[])[0, 1, 2, 3, 4]));
@@ -2975,7 +2975,7 @@ struct HTTP
         ubyte[] res;
         http.onReceive = (data) { res ~= data; return data.length; };
         http.perform();
-        assert(res == cast(ubyte[])[17, 27, 35, 41]);
+        assert(res == cast(ubyte[])[17, 27, 35, 41]);*/
     }
 
     /**
diff --git a/std/path.d b/std/path.d
index 60c844f..0598104 100644
--- a/std/path.d
+++ b/std/path.d
@@ -3953,8 +3953,10 @@ unittest
         }
         else
         {
+/*
             assert(expandTilde("~root") == "/root", expandTilde("~root"));
             assert(expandTilde("~root/") == "/root/", expandTilde("~root/"));
+*/
         }
         assert(expandTilde("~Idontexist/hey") == "~Idontexist/hey");
     }
diff --git a/std/socket.d b/std/socket.d
index 7f5a3c3..e68b881 100644
--- a/std/socket.d
+++ b/std/socket.d
@@ -481,15 +481,15 @@ unittest
 {
     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");
     });
 }
 
@@ -832,9 +832,9 @@ unittest
     InternetHost ih = new InternetHost;
 
     ih.getHostByAddr(0x7F_00_00_01);
-    assert(ih.addrList[0] == 0x7F_00_00_01);
+    //assert(ih.addrList[0] == 0x7F_00_00_01);
     ih.getHostByAddr("127.0.0.1");
-    assert(ih.addrList[0] == 0x7F_00_00_01);
+    //assert(ih.addrList[0] == 0x7F_00_00_01);
 
     softUnittest({
         if (!ih.getHostByName("www.digitalmars.com"))

debug log:

solving 79deb11 ...
found 79deb11 in https://yhetil.org/guix-devel/CALjrZwYS0FzDcHRVM6cfN5Vfv=9y-n=EnU64qQvLJV-R_LCwdA@mail.gmail.com/ ||
	https://yhetil.org/guix-devel/CALjrZwZo8bk0rU1pgmHjOy-FYjoLCPatNiHv7nsLJ6dXRf1ABQ@mail.gmail.com/

applying [1/1] https://yhetil.org/guix-devel/CALjrZwYS0FzDcHRVM6cfN5Vfv=9y-n=EnU64qQvLJV-R_LCwdA@mail.gmail.com/
diff --git a/gnu/packages/patches/ldc1.1.0-disable-phobos-tests.patch b/gnu/packages/patches/ldc1.1.0-disable-phobos-tests.patch
new file mode 100644
index 0000000..79deb11

1:14: trailing whitespace.
 
1:20: trailing whitespace.
 
1:21: trailing whitespace.
 
1:23: trailing whitespace.
 
1:25: trailing whitespace.
 
Checking patch gnu/packages/patches/ldc1.1.0-disable-phobos-tests.patch...
Applied patch gnu/packages/patches/ldc1.1.0-disable-phobos-tests.patch cleanly.
warning: squelched 51 whitespace errors
warning: 56 lines add whitespace errors.

skipping https://yhetil.org/guix-devel/CALjrZwZo8bk0rU1pgmHjOy-FYjoLCPatNiHv7nsLJ6dXRf1ABQ@mail.gmail.com/ for 79deb11
index at:
100644 79deb1185a6c547ede7c3dc10a24c6a0622ca8cc	gnu/packages/patches/ldc1.1.0-disable-phobos-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).