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:
authorVincent Vinet <vince.vinet@gmail.com>2009-10-15 14:23:57 (GMT)
committer Vincent Vinet <vince.vinet@gmail.com>2009-10-15 14:23:57 (GMT)
commitf14bcb9b6c79f7f071e32a7ef9bba5ce440096bd (patch)
tree2f4fd1920e484bfdb567eabe83701cd7306d372d /tests/run-tests.py
parentb0274f9a824d8ef82cbe66398d5afaa6ca75d9dc (diff)
Big commit! Everything to make Tutorial execution work through dbus.
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()