aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authormax99x <max99x@gmail.com>2011-06-29 11:25:15 +0300
committermax99x <max99x@gmail.com>2011-06-29 11:25:15 +0300
commitdba00a5c7c028edfda20dcb79f625fc9f9744442 (patch)
tree81074175336dc2a8d56a93cd049ab9d0c937d699 /tests/runner.py
parent70edb25e68b311d4cdfc33463c9eb42793cd39ca (diff)
Minor polish:
* Removed auto-added `.js` from dynamically loaded libs. * Removed redundant bit fiddling in _formatString. Uses unSign/reSign instead.
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/runner.py b/tests/runner.py
index d7848769..46380a85 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -1821,7 +1821,7 @@ if 'benchmark' not in sys.argv:
filename = os.path.join(dirname, 'liblib.cpp')
BUILD_AS_SHARED_LIB = 1
self.build(lib_src, dirname, filename)
- shutil.move(filename + '.o.js', os.path.join(dirname, 'liblib.so.js'))
+ shutil.move(filename + '.o.js', os.path.join(dirname, 'liblib.so'))
src = '''
#include <cstdio>
@@ -1866,7 +1866,7 @@ if 'benchmark' not in sys.argv:
BUILD_AS_SHARED_LIB = 1
EXPORTED_FUNCTIONS = ['__Z7get_cmpv']
self.build(lib_src, dirname, filename)
- shutil.move(filename + '.o.js', os.path.join(dirname, 'liblib.so.js'))
+ shutil.move(filename + '.o.js', os.path.join(dirname, 'liblib.so'))
src = '''
#include <stdio.h>
@@ -1946,7 +1946,7 @@ if 'benchmark' not in sys.argv:
EXPORTED_FUNCTIONS = ['__Z4funciPFvvE']
EXPORTED_GLOBALS = ['_global']
self.build(lib_src, dirname, filename)
- shutil.move(filename + '.o.js', os.path.join(dirname, 'liblib.so.js'))
+ shutil.move(filename + '.o.js', os.path.join(dirname, 'liblib.so'))
src = '''
#include <stdio.h>