Skip to content
Snippets Groups Projects
Commit 479e422b authored by Morris Jette's avatar Morris Jette
Browse files

Minor tweaks to regression tests

parent e189b1c6
No related branches found
No related tags found
No related merge requests found
...@@ -37,6 +37,8 @@ int main(int argc, char * argv[]) ...@@ -37,6 +37,8 @@ int main(int argc, char * argv[])
int i, total = 0; int i, total = 0;
for (i = 0; i < THREADS; i++) for (i = 0; i < THREADS; i++)
total += inx[i]; total += inx[i];
/* Make sure "Total" message is last for Expect parsing*/
sleep(1);
printf("Total is %d\n", total); printf("Total is %d\n", total);
} }
return 0; return 0;
......
...@@ -37,18 +37,24 @@ set test_script "./test$test_id.bash" ...@@ -37,18 +37,24 @@ set test_script "./test$test_id.bash"
set job_blocks 5000 set job_blocks 5000
# job_cnt Number of batch jobs to be submitted # job_cnt Number of batch jobs to be submitted
set job_cnt 5000 set job_cnt 1000
print_header $test_id print_header $test_id
if {[test_front_end] != 0 || $enable_memory_leak_debug != 0} { if {[test_front_end] || $enable_memory_leak_debug != 0} {
set job_cnt 2 set job_cnt 2
} elseif {[test_serial]} {
set job_cnt 5000
} }
#
# NOTE: test9.9.bash seems to have trouble running out of process IDs when # NOTE: test9.9.bash seems to have trouble running out of process IDs when
# more than about 5000 jobs are submitted at one time, so we execute the # more than about 5000 jobs are submitted at one time, so we can execute the
# script multiple times if necessary. A more reliable alternative would be # script multiple times if necessary. A more reliable alternative would be
# to catch the fork() failures and retry. # to catch the fork() failures and retry.
#
# NOTE: The throughput rate is highly dependent upon configuration
#
proc _submit_jobs { job_name test_file } { proc _submit_jobs { job_name test_file } {
global exit_code job_blocks job_cnt sbatch test_script global exit_code job_blocks job_cnt sbatch test_script
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment