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

Disable a test if system too small

parent e9737ec7
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,14 @@ if {[test_front_end] != 0} {
exit $exit_code
}
# find out if we have enough nodes to test functionality
set partition [default_partition]
set node_count [get_node_cnt_in_part $partition]
if { $node_count < 2 } {
send_user "WARNING: Insufficient nodes in default partition ($node_count < 2)\n"
exit $exit_code
}
#
# Test CPU count for sufficient number (test requires 3+ CPUs per node
#
......
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