Skip to content
Snippets Groups Projects
Commit af9de2e7 authored by Veronique Legrand's avatar Veronique Legrand Committed by Morris Jette
Browse files

Fix test for operation with select/linear

parent 99cd33f1
No related branches found
No related tags found
No related merge requests found
...@@ -200,10 +200,17 @@ proc _test_limits { } { ...@@ -200,10 +200,17 @@ proc _test_limits { } {
return $exit_code return $exit_code
} }
set select_type [test_select_type]
if {[test_serial]} { if {![string compare $select_type "serial"]} {
send_user "\nWARNING: This test is not compatible with serial system\n" send_user "\nWARNING: This test is incompatible with select/serial systems\n"
exit 0 exit $exit_code
} elseif {![string compare $select_type "linear"]} {
set def_part_name [default_partition]
set nb_nodes [get_node_cnt_in_part $def_part_name]
if {$nb_nodes < 2} {
send_user "\nWARNING: This test is incompatible with select/linear and only one node\n"
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