From 2668550eb38dead92e60cb0daebf45750c9590cb Mon Sep 17 00:00:00 2001 From: Filip Leonarski Date: Wed, 4 Nov 2026 07:19:26 +0100 Subject: [PATCH] Tests: the FFBIDX stills test builds only with CUDA, as its helpers do IndexAndRefine_StillRhombohedralFFBIDX uses MakeRotation/RotateLattice, which are defined inside the file's JFJOCH_USE_CUDA block, and FFBIDX itself exists only with CUDA, so a non-CUDA build failed to compile jfjoch_test. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01UqXYdL4qBGYRiSXSGXfCLu --- tests/IndexingUnitTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/IndexingUnitTest.cpp b/tests/IndexingUnitTest.cpp index 46d3ff7cc..cc56abdbc 100644 --- a/tests/IndexingUnitTest.cpp +++ b/tests/IndexingUnitTest.cpp @@ -1105,6 +1105,7 @@ TEST_CASE("PostIndexingRefinement_CentredFalseOrientationScoresLower", "[Indexin CHECK(SameBasis(out[0], truth_p)); } +#ifdef JFJOCH_USE_CUDA TEST_CASE("IndexAndRefine_StillRhombohedralFFBIDX", "[Indexing]") { // The per-frame entry point every stills flow goes through (the broker's FPGA and SIMPLON receivers, // live rugnux stills, offline rugnux): an R3 crystal in the hexagonal setting, given as its space group @@ -1153,3 +1154,4 @@ TEST_CASE("IndexAndRefine_StillRhombohedralFFBIDX", "[Indexing]") { CHECK(obeying == indexed); } } +#endif