all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 84ecee12c27b0cc6247c0e736608a9646c57ebdb 489 bytes (raw)
name: gnu/packages/patches/tinydir-fix-cbehave-test.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
Make test work with upstream cbehave
(tinydir bundles a modified version)

diff --git a/tests/file_open_test.c b/tests/file_open_test.c
index 3e659bc..9f6f88d 100644
--- a/tests/file_open_test.c
+++ b/tests/file_open_test.c
@@ -19,4 +19,7 @@ FEATURE(file_open, "File open")
 	SCENARIO_END
 FEATURE_END
 
-CBEHAVE_RUN("File open:", TEST_FEATURE(file_open))
+int main(void) {
+	cbehave_feature _cfeatures[] = {{feature_idx(file_open)}};
+	return cbehave_runner("File open:", _cfeatures);
+}

debug log:

solving 84ecee12c2 ...
found 84ecee12c2 in https://git.savannah.gnu.org/cgit/guix.git

(*) 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.