aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSigmund Vik <sigmund_vik@yahoo.com>2012-04-11 21:32:20 +0200
committerSigmund Vik <sigmund_vik@yahoo.com>2012-04-11 21:32:20 +0200
commit0d2a2e4b97c11ce3bdcfb2928c8da978abc8a1d7 (patch)
treee1e14379e001d207005373841bc1b90be1b3b7d0 /tests
parent99c46475c1944c1e62e04f30bd0db3233639515d (diff)
A more accurate output message in test case in sanity.test_emcc
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 131eca10..f29c7e0c 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -7509,12 +7509,12 @@ elif 'sanity' in str(sys.argv):
open(os.path.join(dirname, 'main.cpp'), 'w').write('''
#include <stdio.h>
int main() {
- printf("hello from emcc with no CONFIG_FILE\\n");
+ printf("hello from emcc with no config file\\n");
return 0;
}
''')
Popen(['python', EMCC, os.path.join(dirname, 'main.cpp'), '-o', os.path.join(dirname, 'a.out.js')]).communicate()
- self.assertContained('hello from emcc with no CONFIG_FILE', run_js(os.path.join(dirname, 'a.out.js')))
+ self.assertContained('hello from emcc with no config file', run_js(os.path.join(dirname, 'a.out.js')))
del os.environ['EM_CONFIG']
shutil.rmtree(dirname)