Skip to content
Snippets Groups Projects
Commit db8c6bf6 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

prepare python tests

parent 3312cb8d
No related branches found
No related tags found
No related merge requests found
...@@ -1659,6 +1659,15 @@ file(GLOB_RECURSE TESTFILES tutorial/*.geo) ...@@ -1659,6 +1659,15 @@ file(GLOB_RECURSE TESTFILES tutorial/*.geo)
foreach(TESTFILE ${TESTFILES}) foreach(TESTFILE ${TESTFILES})
add_test(${TESTFILE} ./gmsh ${TESTFILE} -3 -o ./tmp.msh) add_test(${TESTFILE} ./gmsh ${TESTFILE} -3 -o ./tmp.msh)
endforeach() endforeach()
# if(HAVE_PYTHON)
# file(GLOB_RECURSE TESTFILES tutorial/*.py)
# foreach(TESTFILE ${TESTFILES})
# add_test(NAME ${TESTFILE}
# COMMAND ${PYTHON_EXECUTABLE}
# ${TESTFILE} $<CONFIGURATION>)
# # sys.path.insert(0, "path/to/your/package")
# endforeach()
# endif(HAVE_PYTHON)
message(STATUS "") message(STATUS "")
message(STATUS "Gmsh ${GMSH_VERSION} has been configured for ${GMSH_OS}") message(STATUS "Gmsh ${GMSH_VERSION} has been configured for ${GMSH_OS}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment