From 8e7c199356ac5cc5727af4c94cc77544644b32bf Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 9 Jun 2014 06:45:43 +0000
Subject: [PATCH] pp

---
 CMakeLists.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3c619c1f16..a4efd58b11 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1669,13 +1669,13 @@ endif(ENABLE_WRAP_JAVA)
 include(CPack)
 
 include(CTest)
-file(GLOB_RECURSE TESTFILES 
+file(GLOB_RECURSE GEOFILES 
      tutorial/*.geo demos/*.geo benchmarks/?d/*.geo benchmarks/extrude/*.geo)
-foreach(TESTFILE ${TESTFILES})
+foreach(GEOFILE ${GEOFILES})
   # use relative path for cygwin/mingw (the pure win exe built with the mingw 
   # compilers does not understand a full cygwin-style path)
-  FILE(RELATIVE_PATH TEST ${CMAKE_CURRENT_BINARY_DIR} ${TESTFILE})
-  add_test(${TESTFILE} ./gmsh ${TEST} -3 -nopopup -o ./tmp.msh)
+  FILE(RELATIVE_PATH GEO ${CMAKE_CURRENT_BINARY_DIR} ${GEOFILE})
+  add_test(${GEO} ./gmsh ${GEO} -3 -nopopup -o ./tmp.msh)
 endforeach()
 # if(HAVE_PYTHON)
 #   file(GLOB_RECURSE TESTFILES tutorial/*.py)
-- 
GitLab