Skip to content

Commit 99ee0a4

Browse files
committed
Try changing directory
1 parent 479081b commit 99ee0a4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/Makefile.common

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,10 @@ $(PROJECT_FILE).decls-DynComp $(PROJECT_FILE).txt-cset \
563563
# @echo inst_Files: '$(INST_FILES)'
564564
rm -f $(PROJECT_FILE).decls-DynComp $(PROJECT_FILE).txt-cset
565565
# Calls the sub-make only if the variable EXTRA_TARGET is not empty
566-
if [ -n "${EXTRA_TARGET}" ]; then ${MAKE} -C "${DAIKONDIR}/tests/${PROJECT}" extra-target; fi
566+
if [ -n "${EXTRA_TARGET}" ]; then \
567+
echo "PROJECT=${PROJECT}; with DAIKONDIR=${DAIKONDIR}/tests/${PROJECT}"; \
568+
${MAKE} -C "${PROJECT}" extra-target; \
569+
fi
567570
cd $(SCRATCH_FOR_DAIKON) && ${JAVAC} -g `cat $(ALL_LIST_FILE)`
568571
export LD_LIBRARY_PATH="${DAIKONDIR}/tests/${PROJECT}" && \
569572
$(RUN_JAVA) daikon.DynComp $(DCOMP_ARGS) ${JUNIT} $(MAIN_CLASS) $(MAIN_ARGS)

0 commit comments

Comments
 (0)