From: Bruno Haible Date: Mon, 16 Sep 2024 14:00:53 +0000 (+0200) Subject: tests: Fix a test failure. X-Git-Tag: v0.23~132 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6eb28cae23876e20ca130d6af9df5ea6ec847610;p=thirdparty%2Fgettext.git tests: Fix a test failure. * gettext-tools/tests/xgettext-ruby-2: Skip the test if 'rxgettext' is not found. --- diff --git a/gettext-tools/tests/xgettext-ruby-2 b/gettext-tools/tests/xgettext-ruby-2 index 0b6ad2631..26160b9d6 100755 --- a/gettext-tools/tests/xgettext-ruby-2 +++ b/gettext-tools/tests/xgettext-ruby-2 @@ -3,6 +3,9 @@ # Test Ruby support: --add-comments option, string concatenation. +(rxgettext --version) >/dev/null 2>/dev/null \ + || { echo "Skipping test: rxgettext not found"; Exit 77; } + cat <<\EOF > xg-ru-2.rb # a s = # b