Skip Thai character test when libthai is unavailable. Taken from upstream bug tracker: https://gitlab.gnome.org/GNOME/pango/merge_requests/161 https://gitlab.gnome.org/GNOME/pango/commit/b73284747ac937e31dc9191f84ed6e24284c88ee diff --git a/tests/test-break.c b/tests/test-break.c index 8549b678bba69360d07dce3af21d915412f20d51..47fa3009165e19a331aa04a0df4351ae2323933b 100644 --- a/tests/test-break.c +++ b/tests/test-break.c @@ -305,6 +305,12 @@ main (int argc, char *argv[]) if (!strstr (name, "break")) continue; +#ifndef HAVE_LIBTHAI + /* four.break involves Thai, so only test it when we have libthai */ + if (strstr (name, "four.break")) + continue; +#endif + path = g_strdup_printf ("/break/%s", name); g_test_add_data_func_full (path, g_test_build_filename (G_TEST_DIST, "breaks", name, NULL), test_break, g_free); d class='sub'>Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/guix-package.sh
AgeCommit message (Expand)Author
2019-02-07profiles: Raise an error for unmatched patterns....Previously, "guix package -r something-not-installed" would silently complete. Now an error is raised. * guix/profiles.scm (&unmatched-pattern-error): New condition type. (manifest-matching-entries): Rewrite to raise an error when one of PATTERNS is not matched. * guix/ui.scm (call-with-error-handling): Handle 'unmatched-pattern-error?'. * tests/guix-package.sh: Add test. * tests/profiles.scm ("manifest-matching-entries"): Don't try to remove unmatched pattern. ("manifest-matching-entries, no match"): New test. ("manifest-transaction-effects"): Remove 'remove' field. Ludovic Courtès
2018-11-11guix package: '--show' errors when asked for a non-existent package....Fixes <https://bugs.gnu.org/33323>. Reported by swedebugia <swedebugia@riseup.net>. * guix/scripts/package.scm (process-query): Call 'leave' when 'find-packages-by-name' returns the empty list. * tests/guix-package.sh: Test it. Ludovic Courtès