diff options
author | Oz Linden <oz@lindenlab.com> | 2011-07-22 22:07:50 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-07-22 22:07:50 -0400 |
commit | 6df418b7af8b8088f72089dc11401db455c26e13 (patch) | |
tree | 6105cd31a3a6a50b0cb99ff04957e59833ef48c6 /indra/llcommon/tests/setpython.py | |
parent | 7ac2307501c8a9a1a4c733753cbb06b07df7f95d (diff) | |
parent | d28e411af622b590eada78608f04a0791399e700 (diff) |
merge changes for storm-1526
Diffstat (limited to 'indra/llcommon/tests/setpython.py')
-rw-r--r-- | indra/llcommon/tests/setpython.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/indra/llcommon/tests/setpython.py b/indra/llcommon/tests/setpython.py new file mode 100644 index 0000000000..df7b90428e --- /dev/null +++ b/indra/llcommon/tests/setpython.py @@ -0,0 +1,19 @@ +#!/usr/bin/python +"""\ +@file setpython.py +@author Nat Goodspeed +@date 2011-07-13 +@brief Set PYTHON environment variable for tests that care. + +$LicenseInfo:firstyear=2011&license=viewerlgpl$ +Copyright (c) 2011, Linden Research, Inc. +$/LicenseInfo$ +""" + +import os +import sys +import subprocess + +if __name__ == "__main__": + os.environ["PYTHON"] = sys.executable + sys.exit(subprocess.call(sys.argv[1:])) |