File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ INOTIFYWAIT_OPTS="-r -m -e modify -e attrib -e moved_to -e create -e delete -e d
7171SUMMARY=summary.log
7272XML=test.xml
7373WHOAMI=/c/Windows/System32/whoami.exe
74- BASE_WORKDIR=" $ ( pwd) /workdir"
74+ BASE_WORKDIR=${BASE_WORKDIR :- $ (pwd)/ workdir}
7575QUIET=
7676
7777# Default test types to run if --tests= is not passed
@@ -261,6 +261,7 @@ usage() {
261261 echo " --inotifywait Run tests and log filesystem events"
262262 echo " --no-clean does not clean workdir after test finishes"
263263 echo " (by default it gets cleaned only if test passed)."
264+ echo " --base-workdir Specify a local directory for all working files"
264265 echo " -j[n]"
265266 echo " -jobs=[n] Run tests in parallel, works like make -j option. Note that some"
266267 echo " tests will always run one by one."
822823 # Internal option. Meant to keep sub invocations from interfering by
823824 # writing files only into the workdir.
824825 STAY_IN_WORKDIR=1;;
826+ --base-workdir=* )
827+ BASE_WORKDIR=" ${1# --base-workdir=} " ;;
825828 -* )
826829 echo " Unknown option: $1 "
827830 exit 1;;
You can’t perform that action at this time.
0 commit comments