Skip to content

Commit

Permalink
do_regtest: Pass cp2k root dir as first argument to unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Feb 11, 2020
1 parent 14c1adf commit abecc61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/regtesting/do_regtest
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ function run_unittest() {
t1=`date +%s`
output_file=${dir_test}/${dir}.out
unittest=${dir##*/}
testcmd="${cp2k_run_prefix} ${dir_base}/${cp2k_dir}/exe/${dir_triplet}/${unittest}.${cp2k_version}"
testcmd="${cp2k_run_prefix} ${dir_base}/${cp2k_dir}/exe/${dir_triplet}/${unittest}.${cp2k_version} ${dir_base}/${cp2k_dir}"
( ulimit -t ${job_max_time} ; ${testcmd} &> ${output_file} ) >& /dev/null
(( cp2k_exit_status = $? ))
t2=`date +%s`
Expand Down

0 comments on commit abecc61

Please sign in to comment.