diff options
author | Sigmund Vik <sigmund_vik@yahoo.com> | 2012-04-11 21:32:20 +0200 |
---|---|---|
committer | Sigmund Vik <sigmund_vik@yahoo.com> | 2012-04-11 21:32:20 +0200 |
commit | 0d2a2e4b97c11ce3bdcfb2928c8da978abc8a1d7 (patch) | |
tree | e1e14379e001d207005373841bc1b90be1b3b7d0 /tests | |
parent | 99c46475c1944c1e62e04f30bd0db3233639515d (diff) |
A more accurate output message in test case in sanity.test_emcc
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runner.py | 4 |
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) |