This test incorrectly expects the libpurple search path to initially contain exactly one element. Remove this incorrect assertion. --- telegram-purple-1.3.1-checkout/test/loadtest.c 2018-10-27 16:25:06.258459600 +0200 +++ telegram-purple-1.3.1-checkout/test/loadtest.c 2018-10-27 16:25:11.830434770 +0200 @@ -156,7 +156,7 @@ static void tdf_inject_plugin (void) { printf ("Injecting our module into purple_plugins_* ...\n"); purple_plugins_init (); GList *search_paths = purple_plugins_get_search_paths (); - assert (!search_paths->prev && !search_paths->next && search_paths->data); + assert (!search_paths->prev && search_paths->data); GList *new_paths = g_list_append (search_paths, g_strdup ("bin/")); assert (new_paths == search_paths); // Load "my" path before the default. ipts Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/glob.scm
AgeCommit message (Expand)Author
2018-03-18glob: Add an extra glob pattern compilation stage....* guix/glob.scm (compile-glob-pattern): Rename to... (string->sglob): ... this. (compile-sglob, string->compiled-sglob): New procedures. (glob-match?): Replace '?, 'range, and 'set with a single clause. * tests/glob.scm (test-compile-glob-pattern): Rename to... (test-string->sglob): ... this. Adjust accordingly. (test-glob-match): Use 'string->compiled-sglob' instead of 'compile-glob-pattern'. * gnu/build/linux-modules.scm (read-module-aliases): Use 'string->compiled-sglob' instead of 'compile-glob-pattern'. Ludovic Courtès
2018-03-18glob: Support square brackets in patterns....* guix/glob.scm (wildcard-indices): Remove. (parse-bracket): New procedure. (compile-glob-pattern): Rewrite. Support square brackets for sets and ranges. (glob-match?): Support sets and ranges. * tests/glob.scm (test-compile-glob-pattern) (test-glob-match): New macros. Use them to rewrite the existing tests, and add new tests. Ludovic Courtès
2018-03-02Add (guix glob)....* guix/glob.scm, tests/glob.scm: New files. * Makefile.am (MODULES): Add guix/glob.scm. (SCM_TESTS): Add tests/glob.scm. Ludovic Courtès