From: Ben Pfaff Date: Sat, 18 Feb 2012 18:59:08 +0000 (-0800) Subject: tests: Avoid failure due to race to mkdir tests/valgrind. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=eaf3122f0cfa7b6d42254653bed8433c52bc63e2 tests: Avoid failure due to race to mkdir tests/valgrind. --- diff --git a/tests/automake.mk b/tests/automake.mk index 16a0d35202..cb8da0f51c 100644 --- a/tests/automake.mk +++ b/tests/automake.mk @@ -405,7 +405,7 @@ valgrind_wrappers = \ tests/valgrind/pspp $(valgrind_wrappers): tests/valgrind-wrapper.in - @test -d tests/valgrind || mkdir tests/valgrind + @$(MKDIR_P) tests/valgrind sed -e 's,[@]wrap_program[@],$@,' \ $(top_srcdir)/tests/valgrind-wrapper.in > $@.tmp chmod +x $@.tmp