diff options
author | anatoly techtonik <techtonik@gmail.com> | 2014-03-21 08:23:36 (GMT) |
---|---|---|
committer | anatoly techtonik <techtonik@gmail.com> | 2014-03-21 08:23:36 (GMT) |
commit | 9cbc6fcdd1a84d9af9bd9eb371f1522991caf73d (patch) | |
tree | d8d306ca1d4d8f543555511ed0bfc578c26d7ac6 /src/engine/SCons/Tool/javacTests.py | |
parent | ffd96219e173cdc643a28fe44d344e274a156ce0 (diff) | |
download | SCons-9cbc6fcdd1a84d9af9bd9eb371f1522991caf73d.zip SCons-9cbc6fcdd1a84d9af9bd9eb371f1522991caf73d.tar.gz SCons-9cbc6fcdd1a84d9af9bd9eb371f1522991caf73d.tar.bz2 |
Switch unit tests to configurable runner
Diffstat (limited to 'src/engine/SCons/Tool/javacTests.py')
-rw-r--r-- | src/engine/SCons/Tool/javacTests.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/javacTests.py b/src/engine/SCons/Tool/javacTests.py index 4631c8a..c1832a8 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) |