]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Make tst-strftime2 and tst-strftime3 depend on locale generation
authorGabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Tue, 8 Oct 2019 17:32:17 +0000 (14:32 -0300)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 31 Oct 2019 21:49:14 +0000 (21:49 +0000)
Building the test cases in parallel might make tst-strftime2 and
tst-strftime3 fail.  Simply re-running the test case (or building
serially) makes the problem go away.  This patch adds the necessary
dependency to allow parallel builds in the time subdirectory.

Tested for powerpc64le.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
(cherry picked from commit 52151051b39293dac9fc3181cfd6240d7ce86ca1)

ChangeLog
time/Makefile

index 29c864868add1fe9895a8f0982c0e9ce3af87708..4472d6c59d6f07d3d2385525796a324acfcedb89 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-10-08  Gabriel F. T. Gomes  <gabrielftg@linux.ibm.com>
+
+       * Makefile: Fix locale dependency for a couple of tests.
+       ($(objpfx)tst-strftime2.out): New rule.
+       ($(objpfx)tst-strftime3.out): Likewise.
+
 2019-09-20  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
index a428f5524573260161f7791855c73da4badccdda..63b8d735ea99980dde455426b9672e85cfb05cfd 100644 (file)
@@ -57,6 +57,8 @@ include ../gen-locales.mk
 
 $(objpfx)tst-ftime_l.out: $(gen-locales)
 $(objpfx)tst-strptime.out: $(gen-locales)
+$(objpfx)tst-strftime2.out: $(gen-locales)
+$(objpfx)tst-strftime3.out: $(gen-locales)
 endif
 
 tz-cflags = -DTZDIR='"$(zonedir)"' \