summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/coot/files/0.6.2-test.patch')
-rw-r--r--sci-chemistry/coot/files/0.6.2-test.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sci-chemistry/coot/files/0.6.2-test.patch b/sci-chemistry/coot/files/0.6.2-test.patch
new file mode 100644
index 000000000000..8cb79e65d767
--- /dev/null
+++ b/sci-chemistry/coot/files/0.6.2-test.patch
@@ -0,0 +1,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) {