aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-12-12 09:24:44 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-12-12 09:24:44 -0800
commit458f4a63293697adb6fa0639f3793a2c74ba2297 (patch)
tree878c2361ed406e864aa16f299ed6d9987b4db80b
parent0958846cf8048bdfc9306c53a038199e066f7525 (diff)
move tests/hello_world.js to src, so tests/ folder is not needed for sanity checks
-rw-r--r--src/hello_world.js (renamed from tests/hello_world.js)0
-rw-r--r--tools/shared.py2
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/hello_world.js b/src/hello_world.js
index 01082eb4..01082eb4 100644
--- a/tests/hello_world.js
+++ b/src/hello_world.js
diff --git a/tools/shared.py b/tools/shared.py
index 3eb72a1e..84f80072 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -637,7 +637,7 @@ def check_engine(engine):
try:
if not CONFIG_FILE:
return True # config stored directly in EM_CONFIG => skip engine check
- return 'hello, world!' in run_js(path_from_root('tests', 'hello_world.js'), engine)
+ return 'hello, world!' in run_js(path_from_root('src', 'hello_world.js'), engine)
except Exception, e:
print 'Checking JS engine %s failed. Check %s. Details: %s' % (str(engine), EM_CONFIG, str(e))
return False