summaryrefslogtreecommitdiff
path: root/src/lib/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-05-18 22:20:02 +0200
committerCarl Hetherington <cth@carlh.net>2025-05-19 21:25:35 +0200
commit8d18da108282203a90f4b5ae0123700b827e3eb7 (patch)
tree627bf6dad0c0cf0c7bff5ca4f147f0baa5c683a3 /src/lib/util.h
parent0866fe0a549a489a140fd4670a5245ba231fc8ec (diff)
Tidy up finding required files during tests.
In particular, prefer not to use lots of fallback attempts. It seems that something funny is going on with how we find Liberation Sans on Linux, meaning that we were sometimes using the OS copy of the font when we didn't mean to.
Diffstat (limited to 'src/lib/util.h')
-rw-r--r--src/lib/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/util.h b/src/lib/util.h
index 525deeb75..80ba4a1f6 100644
--- a/src/lib/util.h
+++ b/src/lib/util.h
@@ -55,6 +55,7 @@ namespace dcp {
extern std::string program_name;
extern bool is_batch_converter;
+extern bool running_tests;
class AudioBuffers;
class TextDecoder;