Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix another script.
[simgrid.git] / buildtools / pipol / test_all.sh
index 2731766..be6a5ff 100644 (file)
@@ -1,16 +1,14 @@
 rm CMakeCache.txt
 
-#ucontext
+#ucontext and pthread
 cmake -Denable_lua=on \
 -Denable_ruby=on \
 -Denable_lib_static=on \
--Denable_graphviz=on \
 -Denable_model-checking=off \
 -Denable_tracing=on \
 -Denable_latency_bound_tracking=off \
 -Denable_gtnets=off \
 -Denable_java=on \
--Dwith_context=auto \
 -Denable_compile_optimizations=off \
 -Denable_compile_warnings=off \
 -Denable_supernovae=off \
@@ -22,79 +20,54 @@ ctest -D ExperimentalTest
 ctest -D ExperimentalSubmit
 make clean
 
-#pthread
-cmake -Denable_lua=on \
--Denable_ruby=on \
--Denable_lib_static=on \
--Denable_graphviz=on \
--Denable_model-checking=off \
--Denable_tracing=on \
--Denable_latency_bound_tracking=off \
--Denable_gtnets=off \
--Denable_java=on \
--Dwith_context=pthread \
--Denable_smpi=on .
-ctest -D ExperimentalStart
-ctest -D ExperimentalConfigure
-ctest -D ExperimentalBuild
-ctest -D ExperimentalTest
-ctest -D ExperimentalSubmit
-make clean
-
-#gtnets
-cmake -Denable_lua=on \
--Denable_ruby=on \
--Denable_lib_static=on \
--Denable_graphviz=on \
--Denable_model-checking=off \
--Denable_tracing=on \
--Denable_latency_bound_tracking=on \
--Denable_gtnets=on \
--Dgtnets_path=/usr \
--Denable_java=on \
--Dwith_context=auto \
--Denable_smpi=on .
-ctest -D ExperimentalStart
-ctest -D ExperimentalConfigure
-ctest -D ExperimentalBuild
-ctest -D ExperimentalTest
-ctest -D ExperimentalSubmit
-make clean
+if [ `uname` != Darwin ]
+       #gtnets
+       cmake -Denable_lua=on \
+       -Denable_ruby=on \
+       -Denable_lib_static=on \
+       -Denable_model-checking=off \
+       -Denable_tracing=on \
+       -Denable_latency_bound_tracking=on \
+       -Denable_gtnets=on \
+       -Dgtnets_path=/home/navarro/gtnets/ \
+       -Denable_java=on \
+       -Denable_smpi=on .
+       ctest -D ExperimentalStart
+       ctest -D ExperimentalConfigure
+       ctest -D ExperimentalBuild
+       ctest -D ExperimentalTest
+       ctest -D ExperimentalSubmit
+       make clean
 
-#full_flags
-cmake -Denable_lua=on \
--Denable_ruby=on \
--Denable_lib_static=on \
--Denable_graphviz=on \
--Denable_model-checking=off \
--Denable_tracing=on \
--Denable_latency_bound_tracking=on \
--Denable_gtnets=off \
--Dgtnets_path=/usr \
--Denable_java=on \
--Dwith_context=auto \
--Denable_compile_optimizations=on \
--Denable_compile_warnings=on \
--Denable_smpi=on .
-ctest -D ExperimentalStart
-ctest -D ExperimentalConfigure
-ctest -D ExperimentalBuild
-ctest -D ExperimentalTest
-ctest -D ExperimentalSubmit
-make clean
+       #full_flags
+       cmake -Denable_lua=on \
+       -Denable_ruby=on \
+       -Denable_lib_static=on \
+       -Denable_model-checking=off \
+       -Denable_tracing=on \
+       -Denable_latency_bound_tracking=on \
+       -Denable_gtnets=off \
+       -Denable_java=on \
+       -Denable_compile_optimizations=on \
+       -Denable_compile_warnings=on \
+       -Denable_smpi=on .
+       ctest -D ExperimentalStart
+       ctest -D ExperimentalConfigure
+       ctest -D ExperimentalBuild
+       ctest -D ExperimentalTest
+       ctest -D ExperimentalSubmit
+       make clean
+fi
 
 #supernovae
 cmake -Denable_lua=on \
 -Denable_ruby=on \
 -Denable_lib_static=on \
--Denable_graphviz=on \
 -Denable_model-checking=off \
 -Denable_tracing=on \
 -Denable_latency_bound_tracking=on \
 -Denable_gtnets=off \
--Dgtnets_path=/usr \
 -Denable_java=on \
--Dwith_context=auto \
 -Denable_compile_optimizations=off \
 -Denable_compile_warnings=off \
 -Denable_supernovae=on \
@@ -110,14 +83,11 @@ make clean
 cmake -Denable_lua=on \
 -Denable_ruby=on \
 -Denable_lib_static=on \
--Denable_graphviz=on \
 -Denable_model-checking=on \
 -Denable_tracing=on \
 -Denable_latency_bound_tracking=on \
 -Denable_gtnets=on \
--Dgtnets_path=/usr \
 -Denable_java=on \
--Dwith_context=auto \
 -Denable_compile_optimizations=off \
 -Denable_compile_warnings=off \
 -Denable_supernovae=off \