From 47bb3f55a7c7249d5a200054e1d5179967768462 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Thu, 7 May 2009 04:44:23 +0000 Subject: [PATCH] Add the pyrun.py script used to run Boost.Python tests via CMake [SVN r52818] --- test/pyrun.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/pyrun.py diff --git a/test/pyrun.py b/test/pyrun.py new file mode 100644 index 00000000..e033069e --- /dev/null +++ b/test/pyrun.py @@ -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)