From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-chemistry/coot/files: 0.6.2-test.patch |
Date: | Wed, 29 Jun 2011 13:14:11 |
Message-Id: | 20110629131400.25C2620057@flycatcher.gentoo.org |
1 | jlec 11/06/29 13:14:00 |
2 | |
3 | Added: 0.6.2-test.patch |
4 | Log: |
5 | Fixed deps and test |
6 | |
7 | (Portage version: 2.2.0_alpha41/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sci-chemistry/coot/files/0.6.2-test.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/coot/files/0.6.2-test.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/coot/files/0.6.2-test.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: 0.6.2-test.patch |
16 | =================================================================== |
17 | src/testing.cc | 4 +++- |
18 | 1 files changed, 3 insertions(+), 1 deletions(-) |
19 | |
20 | diff --git a/src/testing.cc b/src/testing.cc |
21 | index f767bf6..097b9b9 100644 |
22 | --- a/src/testing.cc |
23 | +++ b/src/testing.cc |
24 | @@ -86,6 +86,8 @@ std::string greg_test(const std::string &file_name) { |
25 | const char *c = getenv("COOT_TEST_DATA_DIR"); |
26 | if (c) { |
27 | dd = c; |
28 | + dd += "/"; |
29 | + dd += file_name; |
30 | } else { |
31 | const char *d = getenv("HOME"); |
32 | if (d) { |