Mercurial > parpg-core
comparison run_tests.py @ 47:5a0b7b1f0230
Modified run_tests.py to use the parpg folder in "src"
author | KarstenBock@gmx.net |
---|---|
date | Fri, 02 Sep 2011 15:54:56 +0200 |
parents | 1fd2201f5c36 |
children |
comparison
equal
deleted
inserted
replaced
46:3bacef35b252 | 47:5a0b7b1f0230 |
---|---|
24 pass | 24 pass |
25 | 25 |
26 def _jp(path): | 26 def _jp(path): |
27 return os.path.sep.join(path.split('/')) | 27 return os.path.sep.join(path.split('/')) |
28 | 28 |
29 _paths = ('../../engine/swigwrappers/python', '../../engine/extensions','tests') | 29 _paths = ('../../engine/swigwrappers/python', '../../engine/extensions', 'tests', "src") |
30 test_suite = unittest.TestSuite() | 30 test_suite = unittest.TestSuite() |
31 | 31 |
32 for p in _paths: | 32 for p in _paths: |
33 if p not in sys.path: | 33 if p not in sys.path: |
34 sys.path.append(_jp(p)) | 34 sys.path.append(_jp(p)) |