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

Modify tests for select/serial plugin

parent 0a3192c9
No related branches found
No related tags found
No related merge requests found
...@@ -54,13 +54,15 @@ if {[file executable $mpicc] == 0} { ...@@ -54,13 +54,15 @@ if {[file executable $mpicc] == 0} {
send_user "\nWARNING: $mpicc does not exists\n" send_user "\nWARNING: $mpicc does not exists\n"
exit 0 exit 0
} }
if {[test_front_end] != 0} { if {[test_front_end]} {
send_user "\nWARNING: This test is incompatible with front-end systems\n" send_user "\nWARNING: This test is incompatible with front-end systems\n"
exit 0 exit 0
} } elseif {[test_aix]} {
if {[test_aix] == 1} {
send_user "WARNING: Test is incompatible with AIX\n" send_user "WARNING: Test is incompatible with AIX\n"
exit 0 exit 0
} elseif {[test_serial]} {
send_user "WARNING: Test is incompatible with serial system\n"
exit 0
} }
# #
......
...@@ -53,13 +53,15 @@ if {[file executable $upcc] == 0} { ...@@ -53,13 +53,15 @@ if {[file executable $upcc] == 0} {
send_user "\nWARNING: $upcc does not exists\n" send_user "\nWARNING: $upcc does not exists\n"
exit 0 exit 0
} }
if {[test_front_end] != 0} { if {[test_front_end]} {
send_user "\nWARNING: This test is incompatible with front-end systems\n" send_user "\nWARNING: This test is incompatible with front-end systems\n"
exit 0 exit 0
} } elseif {[test_aix]} {
if {[test_aix] == 1} {
send_user "WARNING: Test is incompatible with AIX\n" send_user "WARNING: Test is incompatible with AIX\n"
exit 0 exit 0
} elseif {[test_serial]} {
send_user "WARNING: Test is incompatible with serial system\n"
exit 0
} }
# #
...@@ -68,7 +70,6 @@ if {[test_aix] == 1} { ...@@ -68,7 +70,6 @@ if {[test_aix] == 1} {
exec $bin_rm -f $test_prog ${test_prog}.o exec $bin_rm -f $test_prog ${test_prog}.o
exec $upcc -o $test_prog ${test_prog}.upc exec $upcc -o $test_prog ${test_prog}.upc
# Delete left-over stdout/err files # Delete left-over stdout/err files
file delete $file_out $file_err file delete $file_out $file_err
......
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