From 52151051b39293dac9fc3181cfd6240d7ce86ca1 Mon Sep 17 00:00:00 2001 From: "Gabriel F. T. Gomes" Date: Tue, 8 Oct 2019 14:32:17 -0300 Subject: [PATCH] Make tst-strftime2 and tst-strftime3 depend on locale generation 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 Reviewed-by: Tulio Magno Quites Machado Filho --- ChangeLog | 6 ++++++ time/Makefile | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7befd8e79c..057da78e6a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2019-10-08 Gabriel F. T. Gomes + + * 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 * posix/tst-wordexp-nocmd.c (do_test): Fix diagnostics output. diff --git a/time/Makefile b/time/Makefile index b9217992a6..ad8844ea34 100644 --- a/time/Makefile +++ b/time/Makefile @@ -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)"' \ -- 2.43.5