aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2013-02-07 16:23:52 +0000
committerRalph Sennhauser <sera@gentoo.org>2013-02-07 16:23:52 +0000
commit20aac840d384aa99f5dc3438e666f657f0c1ccdf (patch)
tree4c674ce8ef61d3e1adc23afb55ce597ae5e49a52
parentFace lifting for java-config --help. (diff)
downloadjava-config-20aac840d384aa99f5dc3438e666f657f0c1ccdf.tar.gz
java-config-20aac840d384aa99f5dc3438e666f657f0c1ccdf.tar.bz2
java-config-20aac840d384aa99f5dc3438e666f657f0c1ccdf.zip
Allow running tests from everywhere
svn path=/projects/java-config-2/trunk/; revision=9181
-rwxr-xr-xtests/test.sh2
-rwxr-xr-xtests/test2.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test.sh b/tests/test.sh
index f2c1246..84f8e98 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -1,2 +1,2 @@
#!/bin/sh
-PYTHONPATH="../src" python run-test-suite.py
+PYTHONPATH="../src" python "`dirname $0`"/run-test-suite.py
diff --git a/tests/test2.sh b/tests/test2.sh
index 933e88a..149ce3c 100755
--- a/tests/test2.sh
+++ b/tests/test2.sh
@@ -1,2 +1,2 @@
#!/bin/sh
-PYTHONPATH="../src" python run-test-suite2.py
+PYTHONPATH="../src" python "`dirname $0`"/run-test-suite2.py