From f6fc7a1edc5fe93bf67278f23734dd7d698789f8 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 6 Feb 2026 20:32:32 +0000 Subject: Don't write test output to /tmp, use ANALYSIS_DIRECTORY instead --- test/test-geoData.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'test/test-geoData.cpp') diff --git a/test/test-geoData.cpp b/test/test-geoData.cpp index a697578..b3a6ad4 100644 --- a/test/test-geoData.cpp +++ b/test/test-geoData.cpp @@ -63,7 +63,10 @@ using FindPointData = std::tuple; // No boundary cases as these can produce different valid results depending on starting point BOOST_DATA_TEST_CASE(FindPointOnTerrain, boost::unit_test::data::make({ - {{0, 0}, -1}, {{XLLCORNER, 0}, -1}, {{0, YLLCORNER}, -1}, {{XLLCORNER + 1, YLLCORNER + 2}, 0}, + {{0, 0}, -1}, + {{XLLCORNER, 0}, -1}, + {{0, YLLCORNER}, -1}, + {{XLLCORNER + 1, YLLCORNER + 2}, 0}, {{XLLCORNER + (CELLSIZE * (NROWS - 1)) - 2, YLLCORNER + (CELLSIZE * (NCOLS - 1)) - 1}, 79200}, {{315555000, 495556000}, 44400}, // perf test target }) @@ -291,7 +294,7 @@ BOOST_DATA_TEST_CASE(Deform, loadFixtureJson("geoData/deform/ std::for_each(cams.begin(), cams.end(), [&renderer, &terrain, &tro](const auto & cam) { renderer.camera.setView(cam.first.first, glm::normalize(cam.first.second)); BOOST_CHECK_NO_THROW(renderer.render(terrain)); - Texture::save(tro.outImage, cam.second.c_str()); + Texture::save(tro.outImage, (ANALYSIS_DIRECTORY / cam.second).c_str()); }); } -- cgit v1.2.3