summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xruntests.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtests.sh b/runtests.sh
index 981fa1ec2..d55860af0 100755
--- a/runtests.sh
+++ b/runtests.sh
@@ -4,6 +4,9 @@
PYTHON_VERSIONS="2.6 2.7 3.1 3.2 3.3"
+# has to be run from portage root dir
+cd "${0%/*}" || exit 1
+
case "${NOCOLOR:-false}" in
yes|true)
GOOD=