]> 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)
committerGabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Tue, 8 Oct 2019 21:34:05 +0000 (18:34 -0300)
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>
ChangeLog
time/Makefile

index 7befd8e79c8b34bf7e7e71239603f1eae5619bdb..057da78e6ae54d38a0240f721b6c7ab4d8b99d75 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-10-08  Florian Weimer  <fweimer@redhat.com>
 
        * posix/tst-wordexp-nocmd.c (do_test): Fix diagnostics output.
index b9217992a60ce3447112e85a56ad1ee563d7dab1..ad8844ea34d0014b5a2f2e7a6ed68c0baba845a2 100644 (file)
@@ -61,6 +61,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)"' \