Skip to content
Snippets Groups Projects
Commit 6c9c36a9 authored by Danny Auble's avatar Danny Auble
Browse files

Fixed test to print out real failure instead of apparent cut and paste.

parent bca4003e
No related branches found
No related tags found
No related merge requests found
...@@ -374,30 +374,30 @@ for {set i 0} {$i<5} {incr i} { ...@@ -374,30 +374,30 @@ for {set i 0} {$i<5} {incr i} {
} }
if { $i == 1 } { if { $i == 1 } {
if { [string compare $node0 $1node2] } { if { [string compare $node0 $1node2] } {
send_user "\nFAILURE: tasks not distributed by hostfile\n" send_user "\nFAILURE: tasks not distributed by -w\n"
set exit_code 1 set exit_code 1
} elseif { [string compare $node1 $1node0] } { } elseif { [string compare $node1 $1node0] } {
send_user "\nFAILURE: tasks not distributed by hostfile\n" send_user "\nFAILURE: tasks not distributed by -w\n"
set exit_code 1 set exit_code 1
} elseif { [string compare $node2 $1node1] } { } elseif { [string compare $node2 $1node1] } {
send_user "\nFAILURE: tasks not distributed by hostfile\n" send_user "\nFAILURE: tasks not distributed by -w\n"
set exit_code 1 set exit_code 1
} }
} elseif { $i == 2 } { } elseif { $i == 2 } {
if { [string compare $node0 $2node0] } { if { [string compare $node0 $2node0] } {
send_user "\nFAILURE: tasks not distributed by hostfile\n" send_user "\nFAILURE: tasks not distributed by -w\n"
set exit_code 1 set exit_code 1
} elseif { [string compare $node1 $2node1] } { } elseif { [string compare $node1 $2node1] } {
send_user "\nFAILURE: tasks not distributed by hostfile\n" send_user "\nFAILURE: tasks not distributed by -w\n"
set exit_code 1 set exit_code 1
} elseif { [string compare $node2 $2node2] } { } elseif { [string compare $node2 $2node2] } {
send_user "\nFAILURE: tasks not distributed by hostfile\n" send_user "\nFAILURE: tasks not distributed by -w\n"
set exit_code 1 set exit_code 1
} elseif { [string compare $node3 $2node3] } { } elseif { [string compare $node3 $2node3] } {
send_user "\nFAILURE: tasks not distributed by hostfile\n" send_user "\nFAILURE: tasks not distributed by -w\n"
set exit_code 1 set exit_code 1
} elseif { [string compare $node4 $2node4] } { } elseif { [string compare $node4 $2node4] } {
send_user "\nFAILURE: tasks not distributed by hostfile\n" send_user "\nFAILURE: tasks not distributed by -w\n"
set exit_code 1 set exit_code 1
} }
} elseif { $i == 3 } { } elseif { $i == 3 } {
......
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