summaryrefslogtreecommitdiff
path: root/test/scons-time/run/option/python.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/scons-time/run/option/python.py')
-rw-r--r--test/scons-time/run/option/python.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/scons-time/run/option/python.py b/test/scons-time/run/option/python.py
index 27ca0722d..d117f2c51 100644
--- a/test/scons-time/run/option/python.py
+++ b/test/scons-time/run/option/python.py
@@ -1,6 +1,8 @@
#!/usr/bin/env python
#
-# __COPYRIGHT__
+# MIT License
+#
+# Copyright The SCons Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
@@ -20,9 +22,6 @@
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-#
-
-__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
"""
Verify the run --python option to specify an alternatie Python executable.
@@ -31,10 +30,14 @@ Verify the run --python option to specify an alternatie Python executable.
import os
import TestSCons_time
+from TestCmd import IS_WINDOWS
_python_ = TestSCons_time._python_
test = TestSCons_time.TestSCons_time()
+if IS_WINDOWS:
+ # tests expect Windows file assoc to run my_python, not in our control.
+ test.skip_test("Skipping test on win32 due to launch problems.")
test.write_sample_project('foo.tar.gz')