aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-07-25 19:12:35 +0200
committerSven Gothel <[email protected]>2022-07-25 19:12:35 +0200
commitd1433ffb48bc5b13f474c98513f077461ce8ae99 (patch)
tree0bc11fc8286eabb041378915223938ee55e4fae6 /scripts
parent07397e8fdea57b93179c19cad6830bac646ae93a (diff)
scripts/test*.sh: mkdir $rootdir/doc/test for logfile
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test_exe_template.sh1
-rwxr-xr-xscripts/test_java.sh3
2 files changed, 3 insertions, 1 deletions
diff --git a/scripts/test_exe_template.sh b/scripts/test_exe_template.sh
index ca46c54..93366b2 100755
--- a/scripts/test_exe_template.sh
+++ b/scripts/test_exe_template.sh
@@ -31,6 +31,7 @@ else
logbasename=$bname-$os_name-$archabi
fi
+mkdir -p $rootdir/doc/test
logfile=$rootdir/doc/test/$logbasename.0.log
rm -f $logfile
diff --git a/scripts/test_java.sh b/scripts/test_java.sh
index 1de8468..6573d92 100755
--- a/scripts/test_java.sh
+++ b/scripts/test_java.sh
@@ -56,7 +56,8 @@ fi
test_basename=`echo ${test_class} | sed 's/.*\.//g'`
if [ -z "${logfile}" ] ; then
- logfile=~/${bname}-${test_basename}-${os_name}-${archabi}.log
+ mkdir -p $rootdir/doc/test
+ logfile=$rootdir/doc/test/${bname}-${test_basename}-${os_name}-${archabi}.log
fi
rm -f $logfile
logbasename=`basename ${logfile} .log`