diff options
author | Vincent Vinet <vince.vinet@gmail.com> | 2009-09-20 14:02:06 (GMT) |
---|---|---|
committer | Vincent Vinet <vince.vinet@gmail.com> | 2009-09-21 15:14:34 (GMT) |
commit | 56aa5ada82c014ca0c7cdc6675b93496e0a6967a (patch) | |
tree | 202031cccd29683b17a127ebf2e2930993ed624a /tests/run-tests.py | |
parent | 228fc4cd41c0aac020ae9d2b656f0d2b617daed6 (diff) |
merge in erick's TProbe work, add a very basic unit test
Diffstat (limited to 'tests/run-tests.py')
-rwxr-xr-x | tests/run-tests.py | 5 |
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() |