File: 0013-tests-store.scm-Disable-tests-requiring-bootstrap-gu.patch

package info (click to toggle)
guix 1.4.0-9
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 161,500 kB
  • sloc: lisp: 861,023; cpp: 10,741; javascript: 9,632; sh: 8,913; makefile: 951; ansic: 558; python: 129; sql: 33; sed: 16
file content (33 lines) | stat: -rw-r--r-- 1,038 bytes parent folder | download | duplicates (2)
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 e374cfe362888bb735424a1b95b78d1fd6c0f097 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@debian.org>
Date: Tue, 10 Nov 2020 15:27:53 -0800
Subject: [PATCH 13/29] tests/store.scm: Disable tests requiring
 bootstrap-guile when network is unavailable.

---
 tests/store.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/store.scm b/tests/store.scm
index c0011475e2..624cd3486d 100644
--- a/tests/store.scm
+++ b/tests/store.scm
@@ -559,6 +559,7 @@
                        (list a b c d w x y)))
            (lset= string=? s1 s3)))))
 
+(unless (network-reachable?) (test-skip 1))
 (test-assert "current-build-output-port, UTF-8"
   ;; Are UTF-8 strings in the build log properly interpreted?
   (string-contains
@@ -575,6 +576,7 @@
               (build-derivations %store (list d))))))))
    "Here’s a Greek letter: λ."))
 
+(unless (network-reachable?) (test-skip 1))
 (test-assert "current-build-output-port, UTF-8 + garbage"
   ;; What about a mixture of UTF-8 + garbage?
   (string-contains
-- 
2.30.2