Files
gentoo/dev-util/gengetopt/files/gengetopt-2.23.1-fix_tests_order.patch

22 lines
844 B
Diff

test_conf_parser_save.sh tests test_conf_parser.save generated by test_conf_parser.sh
since automake cannot guarantee test execution order, move the test for test_conf_parser.save into test_conf_parser.sh
see https://bugs.gentoo.org/978553
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -83,7 +83,6 @@ VALGRINDTESTS = \
test_conf_parser_ov2.sh \
test_conf_parser_ov3.sh \
test_conf_parser_ov4.sh \
- test_conf_parser_save.sh \
test_default_values.sh \
test_dep.sh \
test_groups.sh \
--- a/tests/test_conf_parser.sh.in
+++ b/tests/test_conf_parser.sh.in
@@ -5,3 +5,5 @@ set -ex
"$@" ./test_conf_parser -r "bar" -i 100 -c ./test_conf.conf --opta "FOO" \
-M "-1" -M "zero" --file-save="test_conf_parser.save" \
--opt-arg these are options without names
+
+"$@" ./test_conf_parser_file_save --conf-file="test_conf_parser.save"