From 8f0102e6cdd43bd9d5bafab478340f8ed3f64dc9 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..b31871d 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)