aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2013-06-13 16:10:35 +0300
committerJukka Jylänki <jujjyl@gmail.com>2013-06-13 16:10:35 +0300
commitf06dfed6a60d67360fb2daca0d4bbe02caa0149c (patch)
tree0d12bd32e1974024471619b6170b1a76f001191e /tests
parent886e3158cf5d95a2c2721e5eb9a1c3ac4461f805 (diff)
Improve absolute path warning detection to work on Windows, and make the warning message more informative.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 5e101024..2f755edd 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -10507,7 +10507,7 @@ f.close()
(['-Lsubdir/something'], False),
([], False)]:
err = Popen([PYTHON, EMCC, 'main.c'] + args, stderr=PIPE).communicate()[1]
- assert ('-I or -L of an absolute path encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript)' in err) == expected, err
+ assert ('encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript)' in err) == expected, err
def test_local_link(self):
# Linking a local library directly, like /usr/lib/libsomething.so, cannot work of course since it