source: trunk/game/run_tests.py @ 262

Revision 262, 355 bytes checked in by barra_parpg, 10 years ago (diff)

Patch by mvbarracuda:

  • Applied svn:eol-style >> native to all Python files
  • Resolved inconsistent line endings for gamestate.py, composed.py & base.py
  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1#!/usr/bin/python
2import sys, os, unittest
3
4def _jp(path):
5    return os.path.sep.join(path.split('/'))
6
7_paths = ('../../engine/swigwrappers/python', '../../engine/extensions')
8for p in _paths:
9    if p not in sys.path:
10        sys.path.append(_jp(p))
11
12from scripts.tests.classTests import WoodenCrateTest
13
14if __name__ == '__main__':
15    unittest.main()
Note: See TracBrowser for help on using the repository browser.