source [file join [file dirname [file normalize [info script]]] tclbuildtest.tcl] package require tclbuildtest ::tclbuildtest::sandbox { foreach b {{} static} { foreach p {single double} { foreach s {{} complex} { foreach x {{} openmp mpi} { test [list c $x $p $s $b] { run [build [require slepc-[xyz]] ex1.c] -n 100 } test [list fortran $x $p $s $b] { run [build [require slepc-[xyz]] ex1f.F] -n 100 } } } } } }