Debian Codegraph @

python/scripts/cxxtestgen

raw
1 #!/usr/bin/env python
2
3 import sys
4 import os.path
5
6 try:
7 import cxxtest.cxxtestgen
8 except ImportError:
9 currdir = os.path.dirname(os.path.abspath(__file__))
10
11 if sys.version_info < (3,0):
12 sys.path.append( os.path.abspath( os.path.sep.join([currdir, '..']) ) )
13 else:
14 sys.path.append( os.path.abspath( os.path.sep.join([currdir, '..', python3]) ) )
15
16 import cxxtest.cxxtestgen
17
18 cxxtest.cxxtestgen.main()