aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2013-09-04 20:50:51 +0300
committerJukka Jylänki <jujjyl@gmail.com>2013-09-10 00:19:10 +0300
commit74b6a2547d83406e6f45072011dc33c715666871 (patch)
treef17b194e6743119dd188c0f97517b4e18b65c485 /tests
parentde70a4803489017a3cb1f4f6f6462bcf6f3c884b (diff)
Skip nmake test in test_cmake on Windows if PATH doesn't have nmake set up.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_other.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_other.py b/tests/test_other.py
index 500565d1..b2832f21 100644
--- a/tests/test_other.py
+++ b/tests/test_other.py
@@ -292,6 +292,10 @@ f.close()
emconfigure = path_from_root('emconfigure')
for generator in generators:
+ if generator == 'NMake Makefiles' and not Building.which('nmake'):
+ print >> sys.stderr, 'Skipping NMake test for CMake support, since nmake was not found in PATH. Run this test in Visual Studio command prompt to easily access nmake.'
+ continue
+
make = make_commands[generator]
cmake_cases = ['target_js', 'target_html']
cmake_outputs = ['hello_world.js', 'hello_world_gles.html']