From 24ab96c369cf342a0f68299e52a4a35762eab9e7 Mon Sep 17 00:00:00 2001 From: Leonhard Reichenbach Date: Tue, 28 Nov 2023 11:15:00 +0100 Subject: [PATCH] Test if the geometry actually contains surfaces --- test/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 7f0e499..358b095 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -35,3 +35,9 @@ add_test(NAME LoadODD WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR} COMMAND k4run options/geosvc.py) set_test_env(LoadODD) + +add_test(NAME CheckODDObjFile + WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR} + COMMAND test -s MyObjFile.mtl) +set_test_env(CheckODDObjFile) +set_tests_properties(CheckODDObjFile PROPERTIES DEPENDS LoadODD) \ No newline at end of file