source: trunk/PARPG/run_tests.py @ 97

Revision 40, 349 bytes checked in by maximinus_parpg, 11 years ago (diff)

Removed the /game and /demo folders under /trunk.
Added /PARPG folder, this is now the core game code.
Moved across update*.bat files from old /game folder.
Moved across run_tests.py file from old /game folder.

Line 
1import sys, os, unittest
2
3def _jp(path):
4    return os.path.sep.join(path.split('/'))
5
6_paths = ('../../engine/swigwrappers/python', '../../engine/extensions')
7for p in _paths:
8    if p not in sys.path:
9        sys.path.append(_jp(p))
10
11from scripts.agents.ActionStack_test import ActionStackTestCase
12
13if __name__ == '__main__':
14    unittest.main()
15
Note: See TracBrowser for help on using the repository browser.