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

re-enable the test for bluegene in a limited fashion

parent 4cf5d912
No related branches found
No related tags found
No related merge requests found
...@@ -48,11 +48,6 @@ set file_out_n_glob "" ...@@ -48,11 +48,6 @@ set file_out_n_glob ""
print_header $test_id print_header $test_id
if { [test_bluegene] } {
send_user "\nWARNING: This test is not compatible with bluegene systesm\n"
exit 0
}
# #
# Spawn a program that generates "task_id" (%t) in stdout file names # Spawn a program that generates "task_id" (%t) in stdout file names
# and confirm they are created # and confirm they are created
...@@ -83,14 +78,18 @@ if {$job_id == 0} { ...@@ -83,14 +78,18 @@ if {$job_id == 0} {
} }
set node_count 0 set node_count 0
spawn $squeue -tall -j $job_id -o "%i %D" if { [test_bluegene] } {
expect { set node_count 1
-re "$job_id ($number)" { } else {
set node_count $expect_out(1,string) spawn $squeue -tall -j $job_id -o "%i %D"
exp_continue expect {
} -re "$job_id ($number)" {
eof { set node_count $expect_out(1,string)
wait exp_continue
}
eof {
wait
}
} }
} }
if {$node_count == 0} { if {$node_count == 0} {
......
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