~ruther/guix-local

ref: 9ed3ee95bdd03302229bbfe9fdd33af928c065c2 guix-local/gnu/packages/patches/ldc-disable-phobos-tests.patch -rw-r--r-- 530 bytes
9ed3ee95 — Tobias Geerinckx-Rice gnu: execline: Update to 2.8.1.0. 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/std/socket.d b/std/socket.d
index 111cd17..6d23da9 100644
--- a/std/socket.d
+++ b/std/socket.d
@@ -448,7 +448,7 @@ class Protocol
 // Skip this test on Android because getprotobyname/number are
 // unimplemented in bionic.
 version(CRuntime_Bionic) {} else
-@safe unittest
+@safe version(hasNetwork) unittest
 {
     // import std.stdio : writefln;
     softUnittest({
@@ -770,7 +770,7 @@ class InternetHost
 }
 
 ///
-@safe unittest
+@safe version(hasNetwork) unittest
 {
     InternetHost ih = new InternetHost;