diff --git a/CMakeLists.txt b/CMakeLists.txt
index 227b983f4163cda892c7fef8d261f7eb1d9d6473..75e9b879f43477f5e0bff13df07757bcf2ff90cd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1626,10 +1626,9 @@ endif(ENABLE_WRAP_JAVA)
 include(CPack)
 
 include(CTest)
-# we will need some common testing framwork to make actual tests
-file(GLOB_RECURSE TESTFILES tutorial/x*.geo)
+file(GLOB_RECURSE TESTFILES tutorial/*.geo)
 foreach(TESTFILE ${TESTFILES})
-  add_test(${TESTFILE} gmsh ${TESTFILE})
+  add_test(${TESTFILE} gmsh ${TESTFILE} -3 -o /tmp/tmp.msh)
 endforeach()
 
 message(STATUS "")