unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 8d2f1deb799b3a8f13ad5ee98d487b9be23927d9 1212 bytes (raw)
name: gnu/packages/patches/nss-disable-b64_unittest.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
 
This disables a test that fails on armhf and ppc32.

Upstream bug URL:

https://bugzilla.mozilla.org/show_bug.cgi?id=1351459

Patch copied from upstream source repository:

https://hg.mozilla.org/projects/nss/rev/00b2cc2b33c7

diff --git a/nss/gtests/util_gtest/util_b64_unittest.cc b/nss/gtests/util_gtest/util_b64_unittest.cc
--- a/nss/gtests/util_gtest/util_b64_unittest.cc
+++ b/nss/gtests/util_gtest/util_b64_unittest.cc
@@ -63,17 +63,19 @@ TEST_F(B64EncodeDecodeTest, EncDecTest) 
 
 TEST_F(B64EncodeDecodeTest, FakeDecTest) { EXPECT_TRUE(TestFakeDecode(100)); }
 
 TEST_F(B64EncodeDecodeTest, FakeEncDecTest) {
   EXPECT_TRUE(TestFakeEncode(100));
 }
 
 // These takes a while ...
-TEST_F(B64EncodeDecodeTest, LongFakeDecTest1) {
+TEST_F(B64EncodeDecodeTest, DISABLED_LongFakeDecTest1) {
   EXPECT_TRUE(TestFakeDecode(0x66666666));
 }
-TEST_F(B64EncodeDecodeTest, LongFakeEncDecTest1) { TestFakeEncode(0x3fffffff); }
-TEST_F(B64EncodeDecodeTest, LongFakeEncDecTest2) {
+TEST_F(B64EncodeDecodeTest, DISABLED_LongFakeEncDecTest1) {
+  TestFakeEncode(0x3fffffff);
+}
+TEST_F(B64EncodeDecodeTest, DISABLED_LongFakeEncDecTest2) {
   EXPECT_FALSE(TestFakeEncode(0x40000000));
 }
 
 }  // namespace nss_test





debug log:

solving 8d2f1deb7 ...
found 8d2f1deb7 in https://yhetil.org/guix-devel/878tmuuaox.fsf@fastmail.com/

applying [1/1] https://yhetil.org/guix-devel/878tmuuaox.fsf@fastmail.com/
diff --git a/gnu/packages/patches/nss-disable-b64_unittest.patch b/gnu/packages/patches/nss-disable-b64_unittest.patch
new file mode 100644
index 000000000..8d2f1deb7

1:20: trailing whitespace.
@@ -63,17 +63,19 @@ TEST_F(B64EncodeDecodeTest, EncDecTest) 
1:21: trailing whitespace.
 
1:23: trailing whitespace.
 
1:27: trailing whitespace.
 
1:41: trailing whitespace.
 
Checking patch gnu/packages/patches/nss-disable-b64_unittest.patch...
Applied patch gnu/packages/patches/nss-disable-b64_unittest.patch cleanly.
warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.

index at:
100644 8d2f1deb799b3a8f13ad5ee98d487b9be23927d9	gnu/packages/patches/nss-disable-b64_unittest.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).