aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-07-25 19:36:17 +0200
committerSven Gothel <[email protected]>2022-07-25 19:36:17 +0200
commit4be520ec65d024b316be824d1406c33b43502867 (patch)
treec95c08e805079af45fbd879581ee99e37e1acf30 /scripts
parentf6bc0d947f53b9125fa0866dca1f2fda08dd695b (diff)
scripts/test*.sh: mkdir $rootdir/doc/test for logfile
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test_exe_template.sh2
-rwxr-xr-xscripts/test_java.sh3
2 files changed, 3 insertions, 2 deletions
diff --git a/scripts/test_exe_template.sh b/scripts/test_exe_template.sh
index cfc1d68..3f49929 100755
--- a/scripts/test_exe_template.sh
+++ b/scripts/test_exe_template.sh
@@ -17,7 +17,6 @@ bname=`basename $0 .sh`
. $rootdir/jaulib/scripts/setup-machine-arch.sh "-quiet"
-build_dir=$rootdir/build-$archabi
dist_dir=$rootdir/"dist-$os_name-$archabi"
build_dir=$rootdir/"build-$os_name-$archabi"
echo dist_dir $dist_dir
@@ -35,6 +34,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 1f1cb11..aa96274 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`