@@ -49,7 +49,15 @@ IF (EMBREE_TESTING_INSTALL_TESTS)
4949 "\n "
5050 "project(embree-testing)\n "
5151 "\n "
52+ "# allowing EMBREE_TESTING_INTENSITY to be overriden\n "
53+ "unset(TESTING_INTENSITY_SAVE CACHE)\n "
54+ "set(TESTING_INTENSITY_SAVE ${EMBREE_TESTING_INTENSITY} )\n "
55+ "unset(EMBREE_TESTING_INTENSITY CACHE)\n "
5256 "include(\" ../${CMAKE_INSTALL_LIBDIR} /cmake/embree-${EMBREE_VERSION} /embree-config.cmake\" )\n "
57+ "if (DEFINED TESTING_INTENSITY_SAVE)\n "
58+ " set(EMBREE_TESTING_INTENSITY \$ {TESTING_INTENSITY_SAVE})\n "
59+ "endif()\n "
60+ "\n "
5361 "\n "
5462 "SET(EMBREE_TESTING_PACKAGE_TEST_PROJECT ON)\n "
5563 "SET(EMBREE_INSTALL_BINDIR ${CMAKE_INSTALL_BINDIR} )\n "
@@ -67,20 +75,20 @@ IF (EMBREE_TESTING_INSTALL_TESTS)
6775 " endif()\n "
6876 "endif()\n "
6977 "\n "
70- "message(\" filter: \\\" ${EMBREE_TESTING_FILTER_TESTNAMES} \"\\ \" )\n "
71- "message(\" BUILD_TESTING: \\\"\$ {BUILD_TESTING}\"\\ \" )\n "
72- "message(\" EMBREE_TESTING_INSTALL_TESTS: \\\"\$ {EMBREE_TESTING_INSTALL_TESTS}\"\\ \" )\n "
73- "message(\" EMBREE_SYCL_SUPPORT: \\\"\$ {EMBREE_SYCL_SUPPORT}\"\\ \" )\n "
74- "message(\" EMBREE_TESTING_ONLY_SYCL_TESTS : \\\"\$ {EMBREE_TESTING_ONLY_SYCL_TESTS} \"\\ \" )\n "
75-
76- "message(\" EMBREE_GEOMETRY_TRIANGLE: \\\"\$ {EMBREE_GEOMETRY_TRIANGLE}\"\\ \" )\n "
77- "message(\" EMBREE_GEOMETRY_QUAD: \\\"\$ {EMBREE_GEOMETRY_QUAD}\"\\ \" )\n "
78- "message(\" EMBREE_GEOMETRY_GRID: \\\"\$ {EMBREE_GEOMETRY_GRID}\"\\ \" )\n "
79- "message(\" EMBREE_GEOMETRY_CURVE: \\\"\$ {EMBREE_GEOMETRY_CURVE}\"\\ \" )\n "
80- "message(\" EMBREE_GEOMETRY_SUBDIVISION: \\\"\$ {EMBREE_GEOMETRY_SUBDIVISION}\"\\ \" )\n "
81- "message(\" EMBREE_GEOMETRY_USER: \\\"\$ {EMBREE_GEOMETRY_USER}\"\\ \" )\n "
82- "message(\" EMBREE_GEOMETRY_INSTANCE: \\\"\$ {EMBREE_GEOMETRY_INSTANCE}\"\\ \" )\n "
83- "message(\" EMBREE_GEOMETRY_INSTANCE_ARRAY: \\\"\$ {EMBREE_GEOMETRY_INSTANCE_ARRAY}\"\\ \" )\n "
78+ "message(\" filter: \\\" ${EMBREE_TESTING_FILTER_TESTNAMES} \\\" \" )\n "
79+ "message(\" BUILD_TESTING: \\\"\$ {BUILD_TESTING}\\\" \" )\n "
80+ "message(\" EMBREE_TESTING_INSTALL_TESTS: \\\"\$ {EMBREE_TESTING_INSTALL_TESTS}\\\" \" )\n "
81+ "message(\" EMBREE_SYCL_SUPPORT: \\\"\$ {EMBREE_SYCL_SUPPORT}\\\" \" )\n "
82+ "message(\" EMBREE_TESTING_INTENSITY : \\\"\$ {EMBREE_TESTING_INTENSITY} \\\" \" )\n "
83+ "message( \" EMBREE_TESTING_ONLY_SYCL_TESTS: \\\"\$ {EMBREE_TESTING_ONLY_SYCL_TESTS} \\\"\" ) \n "
84+ "message(\" EMBREE_GEOMETRY_TRIANGLE: \\\"\$ {EMBREE_GEOMETRY_TRIANGLE}\\\" \" )\n "
85+ "message(\" EMBREE_GEOMETRY_QUAD: \\\"\$ {EMBREE_GEOMETRY_QUAD}\\\" \" )\n "
86+ "message(\" EMBREE_GEOMETRY_GRID: \\\"\$ {EMBREE_GEOMETRY_GRID}\\\" \" )\n "
87+ "message(\" EMBREE_GEOMETRY_CURVE: \\\"\$ {EMBREE_GEOMETRY_CURVE}\\\" \" )\n "
88+ "message(\" EMBREE_GEOMETRY_SUBDIVISION: \\\"\$ {EMBREE_GEOMETRY_SUBDIVISION}\\\" \" )\n "
89+ "message(\" EMBREE_GEOMETRY_USER: \\\"\$ {EMBREE_GEOMETRY_USER}\\\" \" )\n "
90+ "message(\" EMBREE_GEOMETRY_INSTANCE: \\\"\$ {EMBREE_GEOMETRY_INSTANCE}\\\" \" )\n "
91+ "message(\" EMBREE_GEOMETRY_INSTANCE_ARRAY: \\\"\$ {EMBREE_GEOMETRY_INSTANCE_ARRAY}\\\" \" )\n "
8492 "\n "
8593 "include(embree-addtests.cmake)\n "
8694 )
0 commit comments