diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-02 18:46:08 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-02 18:46:08 -0700 |
commit | 0c73784c4220f8373bf4e89debd5e3f1c976a095 (patch) | |
tree | afdbbf8092990439cb217927b95c0dec39fc1850 | |
parent | 0fb5e1babc151af00b94c61c3cc5a080d3053d1f (diff) |
fix test_runtimelink
-rwxr-xr-x | tests/runner.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/runner.py b/tests/runner.py index b3f88ea0..39fc03c0 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -413,7 +413,7 @@ process(sys.argv[1]) int suppInt = 76; ''' - supp_name = os.path.join(self.get_dir(), 'supp.c') + supp_name = os.path.join(self.get_dir(), 'supp.cpp') open(supp_name, 'w').write(supp) main = r''' @@ -5025,8 +5025,8 @@ The current type of b is: 9 Settings.BUILD_AS_SHARED_LIB = 2 Settings.NAMED_GLOBALS = 1 - self.build(supp, self.get_dir(), self.in_dir('supp.c')) - shutil.move(self.in_dir('supp.c.o.js'), self.in_dir('liblib.so')) + self.build(supp, self.get_dir(), self.in_dir('supp.cpp')) + shutil.move(self.in_dir('supp.cpp.o.js'), self.in_dir('liblib.so')) Settings.BUILD_AS_SHARED_LIB = 0 Settings.RUNTIME_LINKED_LIBS = ['liblib.so']; |