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:
7
test/pyrun.py
Normal file
7
test/pyrun.py
Normal 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)
|
||||
Reference in New Issue
Block a user