[med-svn] [Git][med-team/libgtextutils][master] 2 commits: Fix FTBFS due to tests failing in parallel build
Andreas Tille
gitlab at salsa.debian.org
Tue Dec 4 08:38:09 GMT 2018
Andreas Tille pushed to branch master at Debian Med / libgtextutils
Commits:
8896ccfc by Frédéric Bonnard at 2018-11-23T12:45:51Z
Fix FTBFS due to tests failing in parallel build
When run in parallel, the file test.txt is created several times for
each individual test, making tests using it randomly failing, because
another test setup overwrites test.txt while the current one uses it.
So let's create it once for all before running the tests.
- - - - -
cb9a72e6 by Andreas Tille at 2018-12-04T08:38:07Z
Merge branch 'fix-FTBFS-ppc64el' into 'master'
Fix FTBFS due to tests failing in parallel build
See merge request med-team/libgtextutils!1
- - - - -
1 changed file:
- tests/Makefile.am
Changes:
=====================================
tests/Makefile.am
=====================================
@@ -16,9 +16,10 @@ else
TUPLE_PROG =
endif
-AM_TESTS_ENVIRONMENT=\
- printf "first line\nsecond line\nthird line\nfourth line\n" > test.txt;
+test.txt:
+ printf "first line\nsecond line\nthird line\nfourth line\n" > test.txt
+CLEANFILES = test.txt
check_PROGRAMS = test_container_join \
test_natural_sort \
@@ -32,6 +33,8 @@ check_PROGRAMS = test_container_join \
test_string_tokenize \
$(TUPLE_PROG)
+$(check_PROGRAMS): test.txt
+
TESTS = $(check_PROGRAMS)
LDADD = $(top_builddir)/src/gtextutils/libgtextutils.la
View it on GitLab: https://salsa.debian.org/med-team/libgtextutils/compare/585627c6fb0848f0853867a377d1ba1428f5d2d8...cb9a72e6feb0e06e4fa9f40e520633d340a47712
--
View it on GitLab: https://salsa.debian.org/med-team/libgtextutils/compare/585627c6fb0848f0853867a377d1ba1428f5d2d8...cb9a72e6feb0e06e4fa9f40e520633d340a47712
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20181204/afed5bc5/attachment-0001.html>
More information about the debian-med-commit
mailing list