blob: 8cb79e65d767c3390404ff6c0c452569023c2067 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
src/testing.cc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/testing.cc b/src/testing.cc
index f767bf6..097b9b9 100644
--- a/src/testing.cc
+++ b/src/testing.cc
@@ -86,6 +86,8 @@ std::string greg_test(const std::string &file_name) {
const char *c = getenv("COOT_TEST_DATA_DIR");
if (c) {
dd = c;
+ dd += "/";
+ dd += file_name;
} else {
const char *d = getenv("HOME");
if (d) {
|