Skip to content

Commit 822518f

Browse files
committed
Testing: run pointcloud tests when partio is found (#1611)
Wow, this has been lurking for a while. Our Findpartio.cmake tries looking for a partio exported config, but if not found, falls back to a simple code to find it manually. All was fine with the fallback code, which if found would set both "partio_FOUND" and "PARTIO_FOUND". But the config file, if found -- only for the newer partio versions -- only set partio_FOUND. And in that circumstance, we were not seting up the pointcloud tests! Although the partio tests were running in CI (thankfully), I was not running them locally on my machine with a new-ish partio. Signed-off-by: Larry Gritz <[email protected]>
1 parent 442b265 commit 822518f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmake/testing.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ macro (osl_add_all_tests)
383383
endif()
384384

385385
# Only run pointcloud tests if Partio is found
386-
if (PARTIO_FOUND)
386+
if (partio_FOUND)
387387
TESTSUITE ( pointcloud pointcloud-fold )
388388
endif ()
389389

0 commit comments

Comments
 (0)