From 4be520ec65d024b316be824d1406c33b43502867 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 25 Jul 2022 19:36:17 +0200 Subject: scripts/test*.sh: mkdir $rootdir/doc/test for logfile --- scripts/test_exe_template.sh | 2 +- scripts/test_java.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts') 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` -- cgit v1.2.3