diff options
author | Sven Gothel <[email protected]> | 2022-07-25 19:12:35 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-07-25 19:12:35 +0200 |
commit | d1433ffb48bc5b13f474c98513f077461ce8ae99 (patch) | |
tree | 0bc11fc8286eabb041378915223938ee55e4fae6 /scripts | |
parent | 07397e8fdea57b93179c19cad6830bac646ae93a (diff) |
scripts/test*.sh: mkdir $rootdir/doc/test for logfile
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/test_exe_template.sh | 1 | ||||
-rwxr-xr-x | scripts/test_java.sh | 3 |
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` |