all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob fc7f2858ff0bb7d91094a80c9c77d1065236f746 1778 bytes (raw)
name: gnu/packages/patches/rust-adblock-ignore-live-tests.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
 
From b83b5b453d3f7883ef4c12f84a7045486957c709 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 9 Nov 2021 17:02:54 +0100
Subject: [PATCH] Ignore live tests.


diff --git a/tests/live.rs b/tests/live.rs
index b1a19fc..6bd4685 100644
--- a/tests/live.rs
+++ b/tests/live.rs
@@ -140,6 +140,7 @@ fn get_blocker_engine_deserialized_ios() -> Engine {
 }

 #[test]
+#[ignore]
 fn check_live_specific_urls() {
     let mut engine = get_blocker_engine();
     {
@@ -176,6 +177,7 @@ fn check_live_specific_urls() {
 }

 #[test]
+#[ignore]
 fn check_live_deserialized_specific_urls() {
     let mut engine = get_blocker_engine_deserialized();
     {
@@ -201,6 +203,7 @@ fn check_live_deserialized_specific_urls() {
 }

 #[test]
+#[ignore]
 fn check_live_from_filterlists() {
     let engine = get_blocker_engine();
     let requests = load_requests();
@@ -214,6 +217,7 @@ fn check_live_from_filterlists() {
 }

 #[test]
+#[ignore]
 fn check_live_deserialized_file() {
     let engine = get_blocker_engine_deserialized();
     let requests = load_requests();
@@ -243,6 +247,7 @@ fn check_live_deserialized_ios() {

 #[cfg(feature = "resource_assembler")]
 #[test]
+#[ignore]
 fn check_live_redirects() {
     use adblock::resources::resource_assembler::assemble_web_accessible_resources;

@@ -278,6 +283,7 @@ fn check_live_redirects() {
 }

 #[test]
+#[ignore]
 /// Ensure that two different engines loaded from the same textual filter set serialize to
 /// identical buffers.
 fn stable_serialization() {
@@ -291,6 +297,7 @@ fn stable_serialization() {
 }

 #[test]
+#[ignore]
 /// Ensure that one engine's serialization result can be exactly reproduced by another engine after
 /// deserializing from it.
 fn stable_serialization_through_load() {
--
2.33.1


debug log:

solving a1c9c190b6 ...
found a1c9c190b6 in https://yhetil.org/guix/TnqG8aO6i-DT4kvpmMC7iUYyeDNIYkrUdu7O9JvYuSjMwOY2iG6XzVB8cfUZN3GRZX3HiIPpF9vR3omz-GY5StLvhxB0km6neABBiiO831M=@protonmail.com/

applying [1/1] https://yhetil.org/guix/TnqG8aO6i-DT4kvpmMC7iUYyeDNIYkrUdu7O9JvYuSjMwOY2iG6XzVB8cfUZN3GRZX3HiIPpF9vR3omz-GY5StLvhxB0km6neABBiiO831M=@protonmail.com/
diff --git a/gnu/packages/patches/rust-adblock-ignore-live-tests.patch b/gnu/packages/patches/rust-adblock-ignore-live-tests.patch
new file mode 100644
index 0000000000..a1c9c190b6

Checking patch gnu/packages/patches/rust-adblock-ignore-live-tests.patch...
1:75: new blank line at EOF.
+
Applied patch gnu/packages/patches/rust-adblock-ignore-live-tests.patch cleanly.
warning: 1 line adds whitespace errors.

index at:
100644 fc7f2858ff0bb7d91094a80c9c77d1065236f746	gnu/packages/patches/rust-adblock-ignore-live-tests.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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.