From 72f8e0c086a9ca439a415d6b515798fe67633d25 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sun, 1 Dec 2013 08:37:41 +0000
Subject: [PATCH] test tutorials

---
 CMakeLists.txt | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 227b983f41..75e9b879f4 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 "")
-- 
GitLab