1 Debian patch touch this file
| •1 | #! /usr/bin/env python3 |
| 2 | # |
| 3 | # The CxxTest driver script, which uses the cxxtest Python package. |
| 4 | # |
| 5 | |
| 6 | import sys |
| 7 | import os |
| 8 | from os.path import realpath, dirname |
| 9 | if sys.version_info < (3,0): |
| 10 | sys.path.insert(0, dirname(dirname(realpath(__file__)))+os.sep+'python') |
| 11 | else: |
| 12 | sys.path.insert(0, dirname(dirname(realpath(__file__)))+os.sep+'python'+os.sep+'python3') |
| 13 | sys.path.append(".") |
| 14 | |
| 15 | import cxxtest |
| 16 | |
| 17 | cxxtest.main(sys.argv) |
| 18 |