aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-11-13 14:00:30 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-11-13 14:00:30 -0800
commitf6eaab6a2563efb3a541c324880b0219d288f4f9 (patch)
treed2f7359021af9eb7ce6562555ec78afd48e44d59 /tests/runner.py
parent1f8340aaed3d4b5271ac0e4aa252597b212fdd39 (diff)
temporary fix for test_cmake
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 922631a6..0fe740ce 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -7529,6 +7529,9 @@ f.close()
# On Windows, we want to build cmake-generated Makefiles with mingw32-make instead of e.g. cygwin make, since mingw32-make
# understands Windows paths, and cygwin make additionally produces a cryptic 'not valid bitcode file' errors on files that
# *are* valid bitcode files.
+
+ os.environ['EMSCRIPTEN'] = path_from_root('') # XXX FIXME this should be done in emconfigure
+
if os.name == 'nt':
make_command = 'mingw32-make'
emscriptencmaketoolchain = path_from_root('cmake', 'Platform', 'Emscripten.cmake')