Skip to content
Snippets Groups Projects
Commit ae8b53e8 authored by Moe Jette's avatar Moe Jette
Browse files

Only remove output file if test is successful.

parent 74cbf1f1
No related branches found
No related tags found
No related merge requests found
...@@ -126,7 +126,6 @@ expect { ...@@ -126,7 +126,6 @@ expect {
wait wait
} }
} }
exec $bin_rm -f $env_valu_stdout
if {$task_cnt != $env_valu_nprocs} { if {$task_cnt != $env_valu_nprocs} {
send_user "\nFAILURE: did not process" send_user "\nFAILURE: did not process"
...@@ -150,6 +149,7 @@ if {$max_node_val > $max_nodes} { ...@@ -150,6 +149,7 @@ if {$max_node_val > $max_nodes} {
# Post processing # Post processing
# #
if {$exit_code == 0} { if {$exit_code == 0} {
exec $bin_rm -f $env_valu_stdout
send_user "\nSUCCESS\n" send_user "\nSUCCESS\n"
} }
exit $exit_code exit $exit_code
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