Debian Codegraph @

debian/patches/another-round-of-failing-tests

raw
1 Fail since toolchain updates in Debian, possibly guile and gcc updates.
2
3 https://lists.gnu.org/archive/html/guix-devel/2024-08/msg00027.html
4
5 diff --git a/tests/gremlin.scm b/tests/gremlin.scm
6 index 3dbb8d3643..c25c1e77e2 100644
7 --- a/tests/gremlin.scm
8 +++ b/tests/gremlin.scm
9 @@ -129,6 +129,7 @@
10
11 (unless c-compiler
12 (test-skip 1))
13 +(test-skip 1)
14 (test-equal "strip-runpath"
15 "hello\n"
16 (call-with-temporary-directory
17 @@ -157,6 +158,7 @@
18
19 (unless c-compiler
20 (test-skip 1))
21 +(test-skip 1)
22 (test-equal "set-file-runpath + file-runpath"
23 "hello\n"
24 (call-with-temporary-directory
25 diff --git a/tests/style.scm b/tests/style.scm
26 index 6aab2c3785..a99a36ba71 100644
27 --- a/tests/style.scm
28 +++ b/tests/style.scm
29 @@ -121,6 +121,7 @@
30 (with-test-package '()
31 (package-direct-inputs (@ (my-packages) my-coreutils))))
32
33 +(test-skip 1)
34 (test-equal "input labels, mismatch"
35 (list `(("foo" ,gmp) ("bar" ,acl))
36 " (inputs `((\"foo\" ,gmp) (\"bar\" ,acl)))\n")
37 @@ -128,6 +129,7 @@
38 (list (package-direct-inputs (@ (my-packages) my-coreutils))
39 (read-package-field (@ (my-packages) my-coreutils) 'inputs))))
40
41 +(test-skip 1)
42 (test-equal "input labels, simple"
43 (list `(("gmp" ,gmp) ("acl" ,acl))
44 " (inputs (list gmp acl))\n")
45 @@ -135,6 +137,7 @@
46 (list (package-direct-inputs (@ (my-packages) my-coreutils))
47 (read-package-field (@ (my-packages) my-coreutils) 'inputs))))
48
49 +(test-skip 1)
50 (test-equal "input labels, long list with one item per line"
51 (list (concatenate (make-list 4 `(("gmp" ,gmp) ("acl" ,acl))))
52 "\
53 @@ -153,6 +156,7 @@
54 (list (package-direct-inputs (@ (my-packages) my-coreutils))
55 (read-package-field (@ (my-packages) my-coreutils) 'inputs 8))))
56
57 +(test-skip 1)
58 (test-equal "input labels, sdl-union"
59 "\
60 (list gmp acl
61 @@ -161,6 +165,7 @@
62 ("sdl-union" ,(sdl-union 1 2 3 4)))))
63 (read-package-field (@ (my-packages) my-coreutils) 'inputs 2)))
64
65 +(test-skip 1)
66 (test-equal "input labels, output"
67 (list `(("gmp" ,gmp "debug") ("acl" ,acl))
68 " (inputs (list `(,gmp \"debug\") acl))\n")
69 @@ -168,6 +173,7 @@
70 (list (package-direct-inputs (@ (my-packages) my-coreutils))
71 (read-package-field (@ (my-packages) my-coreutils) 'inputs))))
72
73 +(test-skip 1)
74 (test-equal "input labels, prepend"
75 (list `(("gmp" ,gmp) ("acl" ,acl))
76 "\
77 @@ -178,6 +184,7 @@
78 (list (package-inputs (@ (my-packages) my-coreutils))
79 (read-package-field (@ (my-packages) my-coreutils) 'inputs 2))))
80
81 +(test-skip 1)
82 (test-equal "input labels, prepend + delete"
83 (list `(("gmp" ,gmp) ("acl" ,acl))
84 "\
85 @@ -191,6 +198,7 @@
86 (list (package-inputs (@ (my-packages) my-coreutils))
87 (read-package-field (@ (my-packages) my-coreutils) 'inputs 3))))
88
89 +(test-skip 1)
90 (test-equal "input labels, prepend + delete multiple"
91 (list `(("gmp" ,gmp) ("acl" ,acl))
92 "\
93 @@ -205,6 +213,7 @@
94 (list (package-inputs (@ (my-packages) my-coreutils))
95 (read-package-field (@ (my-packages) my-coreutils) 'inputs 3))))
96
97 +(test-skip 1)
98 (test-equal "input labels, replace"
99 (list '() ;there's no "gmp" input to replace
100 "\
101 @@ -216,6 +225,7 @@
102 (list (package-inputs (@ (my-packages) my-coreutils))
103 (read-package-field (@ (my-packages) my-coreutils) 'inputs 2))))
104
105 +(test-skip 1)
106 (test-equal "input labels, 'safe' policy"
107 (list `(("gmp" ,gmp) ("acl" ,acl))
108 "\
109 @@ -234,6 +244,7 @@
110 (list (package-inputs (@ (my-packages) my-coreutils))
111 (read-package-field (@ (my-packages) my-coreutils) 'inputs)))))
112
113 +(test-skip 1)
114 (test-equal "input labels, 'safe' policy, nothing changed"
115 (list `(("GMP" ,gmp) ("ACL" ,acl))
116 "\
117 @@ -256,6 +267,7 @@
118 (list (package-inputs (@ (my-packages) my-coreutils))
119 (read-package-field (@ (my-packages) my-coreutils) 'inputs)))))
120
121 +(test-skip 1)
122 (test-equal "input labels, margin comment"
123 (list `(("gmp" ,gmp))
124 `(("acl" ,acl))
125 @@ -285,6 +297,7 @@
126 (read-package-field (@ (my-packages) my-coreutils) 'inputs)
127 (read-package-field (@ (my-packages) my-coreutils) 'native-inputs)))))
128
129 +(test-skip 1)
130 (test-equal "input labels, margin comment on long list"
131 (list (concatenate (make-list 4 `(("gmp" ,gmp) ("acl" ,acl))))
132 "\
133 @@ -317,6 +330,7 @@
134 (list (package-inputs (@ (my-packages) my-coreutils))
135 (read-package-field (@ (my-packages) my-coreutils) 'inputs 8)))))
136
137 +(test-skip 1)
138 (test-equal "input labels, line comment"
139 (list `(("gmp" ,gmp) ("acl" ,acl))
140 "\
141 @@ -339,6 +353,7 @@
142 (list (package-inputs (@ (my-packages) my-coreutils))
143 (read-package-field (@ (my-packages) my-coreutils) 'inputs 3)))))
144
145 +(test-skip 1)
146 (test-equal "input labels, modify-inputs and margin comment"
147 (list `(("gmp" ,gmp) ("acl" ,acl) ("mpfr" ,mpfr))
148 "\