Hi, This patch adds PWD_COMMAND to libphobos/testsuite/Makefile.am, which is used by the parallelized testing machinery. Noticed by some errors when compiling from a newly set-up build server.
touch: cannot touch '/libphobos-parallel/finished': No such file or directory make[3]: *** [check-DEJAGNUlibphobos7] Error 1 make[3]: Leaving directory `/home/runner/gcc/build/x86_64-linux-gnu/libphobos/testsuite' mv: cannot stat 'libphobos9/libphobos.sum': No such file or directory mv: cannot stat 'libphobos9/libphobos.log': No such file or directory mv: cannot stat 'libphobos10/libphobos.sum': No such file or directory mv: cannot stat 'libphobos10/libphobos.log': No such file or directory Committed to trunk as r270566. -- Iain --- libphobos/ChangeLog: 2019-04-25 Iain Buclaw <ibuc...@gdcproject.org> * testsuite/Makefile.am: Set PWD_COMMAND. * testsuite/Makefile.in: Regenerate. ---
diff --git a/libphobos/testsuite/Makefile.am b/libphobos/testsuite/Makefile.am index 55b2ba42640..70b105d4014 100644 --- a/libphobos/testsuite/Makefile.am +++ b/libphobos/testsuite/Makefile.am @@ -27,6 +27,8 @@ _RUNTEST = $(shell if test -f $(top_srcdir)/../dejagnu/runtest; then \ echo $(top_srcdir)/../dejagnu/runtest; else echo runtest; fi) RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir +PWD_COMMAND = $${PWDCMD-pwd} + check_p_subno=$(word 2,$(subst _, ,$*)) check_p_numbers0:=1 2 3 4 5 6 7 8 9 check_p_numbers1:=0 $(check_p_numbers0) diff --git a/libphobos/testsuite/Makefile.in b/libphobos/testsuite/Makefile.in index 26ed875d964..efbd884d7ae 100644 --- a/libphobos/testsuite/Makefile.in +++ b/libphobos/testsuite/Makefile.in @@ -289,6 +289,7 @@ _RUNTEST = $(shell if test -f $(top_srcdir)/../dejagnu/runtest; then \ echo $(top_srcdir)/../dejagnu/runtest; else echo runtest; fi) RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir +PWD_COMMAND = $${PWDCMD-pwd} check_p_subno = $(word 2,$(subst _, ,$*)) check_p_numbers0 := 1 2 3 4 5 6 7 8 9 check_p_numbers1 := 0 $(check_p_numbers0)