Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sandbox:master commit in: tests/
Date: Mon, 05 Mar 2012 07:01:25
Message-Id: 1330930836.21b27c36015164a887af248e197c1210c6c7a365.vapier@gentoo
1 commit: 21b27c36015164a887af248e197c1210c6c7a365
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 5 05:20:34 2012 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 5 07:00:36 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sandbox.git;a=commit;h=21b27c36
7
8 tests: make `./testsuite #` work
9
10 Without this, the test will fail because it can't find sandbox.sh
11 which lives in the src dir.
12
13 Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>
14
15 ---
16 tests/atlocal.in | 4 ++++
17 1 files changed, 4 insertions(+), 0 deletions(-)
18
19 diff --git a/tests/atlocal.in b/tests/atlocal.in
20 index 7633401..4cabcff 100644
21 --- a/tests/atlocal.in
22 +++ b/tests/atlocal.in
23 @@ -13,3 +13,7 @@ export at_xfail
24 # portage likes to do `addpredict /` ... we dont need/want
25 # that garbage messing up our env
26 export SANDBOX_PREDICT=${SANDBOX_PREDICT%:/}
27 +
28 +if [ "${AUTOTEST_PATH}" = "tests" ] ; then
29 + AUTOTEST_PATH="src:tests"
30 +fi