diff options
author | Sven Gothel <[email protected]> | 2022-07-25 19:36:17 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-07-25 19:36:17 +0200 |
commit | 4be520ec65d024b316be824d1406c33b43502867 (patch) | |
tree | c95c08e805079af45fbd879581ee99e37e1acf30 /scripts | |
parent | f6bc0d947f53b9125fa0866dca1f2fda08dd695b (diff) |
scripts/test*.sh: mkdir $rootdir/doc/test for logfile
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/test_exe_template.sh | 2 | ||||
-rwxr-xr-x | scripts/test_java.sh | 3 |
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` |