summaryrefslogtreecommitdiff
path: root/src/engine/SCons/Tool/javacTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Tool/javacTests.py')
-rw-r--r--src/engine/SCons/Tool/javacTests.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/javacTests.py b/src/engine/SCons/Tool/javacTests.py
index 4631c8a1..c1832a8d 100644
--- a/src/engine/SCons/Tool/javacTests.py
+++ b/src/engine/SCons/Tool/javacTests.py
@@ -24,6 +24,8 @@
import os
import unittest
+import TestUnit
+
import SCons.Tool.javac
class DummyNode(object):
@@ -98,5 +100,10 @@ class pathoptTestCase(unittest.TestCase):
'/foo',
'')
+def suite():
+ suite = unittest.TestSuite()
+ suite.addTest(pathoptTestCase())
+ return suite
+
if __name__ == "__main__":
- unittest.main()
+ TestUnit.run(suite)