summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-03-03 23:16:09 +0100
committerCarl Hetherington <cth@carlh.net>2025-03-08 00:12:07 +0100
commiteef48c36012180d20001def874864607e15968b8 (patch)
tree59c45a1579dc5dbf2ddd03f7a363df2f5e30647f /test
parent2b3a495f31d3f9de57e6bbe2605843e6f1efbe3a (diff)
Avoid temporary file for listing GPUs.
Diffstat (limited to 'test')
-rw-r--r--test/grok_util_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/grok_util_test.cc b/test/grok_util_test.cc
index 355e67219..8fba372a9 100644
--- a/test/grok_util_test.cc
+++ b/test/grok_util_test.cc
@@ -19,7 +19,7 @@
*/
-#include "lib/gpu_util.h"
+#include "lib/grok/util.h"
#include "test.h"
#include <boost/test/unit_test.hpp>
@@ -27,7 +27,7 @@
#ifdef DCPOMATIC_GROK
BOOST_AUTO_TEST_CASE(get_gpu_names_test)
{
- auto names = get_gpu_names("test/gpu_lister", "build/test/gpus.txt");
+ auto names = get_gpu_names("test/gpu_lister");
BOOST_REQUIRE_EQUAL(names.size(), 3U);
BOOST_CHECK_EQUAL(names[0], "Foo bar baz");
BOOST_CHECK_EQUAL(names[1], "Spondoolix Mega Kompute 2000");