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
|
From 30b0fa8e81114a2f28694c1358963041d0f1053c Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@debian.org>
Date: Tue, 10 Nov 2020 15:30:33 -0800
Subject: [PATCH 14/29] tests/size.scm: Disable tests requiring bootstrap
binaries when network is unavailable.
---
tests/size.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/size.scm b/tests/size.scm
index 0aaa8fbc29..821b6f890d 100644
--- a/tests/size.scm
+++ b/tests/size.scm
@@ -33,6 +33,7 @@
(test-begin "size")
+(unless (network-reachable?) (test-skip 1))
(test-assertm "store-profile"
(mlet* %store-monad ((file1 (gexp->derivation "file1"
#~(symlink #$%bootstrap-guile
@@ -78,6 +79,7 @@
(profile-self-size profile3)
(profile-self-size profile4))))))))))))
+(unless (network-reachable?) (test-skip 1))
(test-assertm "store-profile with multiple items"
(mlet* %store-monad ((file1 (gexp->derivation "file1"
#~(symlink #$%bootstrap-guile
--
2.30.2
|