2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 18:12:43 +00:00

Add the pyrun.py script used to run Boost.Python tests via CMake

[SVN r52818]
This commit is contained in:
Douglas Gregor
2009-05-07 04:44:23 +00:00
parent 6296bd5bc4
commit 47bb3f55a7

7
test/pyrun.py Normal file
View File

@@ -0,0 +1,7 @@
import sys
pythonpath = sys.argv[1]
scriptfile = sys.argv[2]
sys.argv = sys.argv[2:]
sys.path.append(pythonpath)
execfile(scriptfile)