Skip to content
Snippets Groups Projects
Commit 2ab694cb authored by Danny Auble's avatar Danny Auble Committed by Tim Wickberg
Browse files

Simplify test since all the lines were the same.

parent 7bac612c
No related branches found
No related tags found
No related merge requests found
...@@ -41,16 +41,10 @@ print_header $test_id ...@@ -41,16 +41,10 @@ print_header $test_id
# #
file delete $test_prog file delete $test_prog
if {[test_aix]} { set cmd "$bin_cc ${test_prog}.c -g -pthread -export-dynamic -o ${test_prog} -I${src_dir} -I${build_dir} ${build_dir}/src/api/libslurm.o -ldl"
send_user "$bin_cc ${test_prog}.c -g -pthread -export-dynamic -o ${test_prog} -I${src_dir} -I${build_dir} ${build_dir}/src/api/libslurm.o -ldl\n" send_user "$cmd\n"
exec $bin_cc ${test_prog}.c -g -pthread -export-dynamic -o ${test_prog} -I${src_dir} -I${build_dir} ${build_dir}/src/api/libslurm.o -ldl eval exec $cmd
} elseif [file exists ${slurm_dir}/lib64/libslurm.so] {
send_user "$bin_cc ${test_prog}.c -g -pthread -export-dynamic -o ${test_prog} -I${src_dir} -I${build_dir} ${build_dir}/src/api/libslurm.o -ldl -lz\n"
exec $bin_cc ${test_prog}.c -g -pthread -export-dynamic -o ${test_prog} -I${src_dir} -I${build_dir} ${build_dir}/src/api/libslurm.o -ldl -lz
} else {
send_user "$bin_cc ${test_prog}.c -g -pthread -export-dynamic -o ${test_prog} -I${src_dir} -I${build_dir} ${build_dir}/src/api/libslurm.o -ldl -lz\n"
exec $bin_cc ${test_prog}.c -g -pthread -export-dynamic -o ${test_prog} -I${src_dir} -I${build_dir} ${build_dir}/src/api/libslurm.o -ldl -lz
}
exec $bin_chmod 700 $test_prog exec $bin_chmod 700 $test_prog
send_user "\n====test7.17.1====\n" send_user "\n====test7.17.1====\n"
......
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