Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/run-tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-tests.py')
-rwxr-xr-xtests/run-tests.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/run-tests.py b/tests/run-tests.py
index d41aa0a..23d7e24 100755
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -2,9 +2,9 @@
# This is a dumb script to run tests on the sugar-jhbuild installed files
# The path added is the default path for the jhbuild build
-INSTALL_PATH="../../../../../../install/lib/python2.5/site-packages/"
import os, sys
+INSTALL_PATH=os.path.join(os.path.dirname(__file__),"../../sugar-jhbuild/install/lib/python2.6/site-packages/")
sys.path.insert(0,
os.path.abspath(INSTALL_PATH)
)
@@ -40,6 +40,7 @@ if __name__=='__main__':
import constraintstests
import propertiestests
import serializertests
+ import probetests
suite = unittest.TestSuite()
suite.addTests(unittest.findTestCases(coretests))
suite.addTests(unittest.findTestCases(servicestests))
@@ -52,6 +53,7 @@ if __name__=='__main__':
suite.addTests(unittest.findTestCases(constraintstests))
suite.addTests(unittest.findTestCases(propertiestests))
suite.addTests(unittest.findTestCases(serializertests))
+ suite.addTests(unittest.findTestCases(probetests))
runner = unittest.TextTestRunner()
runner.run(suite)
coverage.stop()
@@ -70,5 +72,6 @@ if __name__=='__main__':
from propertiestests import *
from actiontests import *
from serializertests import *
+ from probetests import *
unittest.main()