Test script outputs in CSV
[ctsim.git] / tests / make-single-openmp.sh
diff --git a/tests/make-single-openmp.sh b/tests/make-single-openmp.sh
new file mode 100755 (executable)
index 0000000..5e9ead1
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+DIR=/tmp
+rm -rf $DIR/sng $DIR/omp
+mkdir $DIR/sng $DIR/omp
+
+(cd ..; (make clean > /dev/null); (./configure --disable-openmp > /dev/null); grep HAVE_OPEN config.h; (make -j 20 > /dev/null); cp tools/ctsimtext src/ctsim $DIR/sng/.)
+(cd ..; (make clean > /dev/null); (./configure --enable-openmp > /dev/null); grep HAVE_OPEN config.h; (make -j 20 > /dev/null); cp tools/ctsimtext src/ctsim $DIR/omp/.)