diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cases/gepoverflow.txt | 2 | ||||
-rw-r--r-- | tests/fcntl/output.txt | 2 | ||||
-rw-r--r-- | tests/fcntl/src.c | 2 | ||||
-rwxr-xr-x | tests/runner.py | 10 |
4 files changed, 12 insertions, 4 deletions
diff --git a/tests/cases/gepoverflow.txt b/tests/cases/gepoverflow.txt index 31d67161..3984fc07 100644 --- a/tests/cases/gepoverflow.txt +++ b/tests/cases/gepoverflow.txt @@ -1,2 +1,2 @@ -*5242366,5242936* +*-506,64* *-514,56* diff --git a/tests/fcntl/output.txt b/tests/fcntl/output.txt index 1ed740e7..bad9708e 100644 --- a/tests/fcntl/output.txt +++ b/tests/fcntl/output.txt @@ -1,4 +1,4 @@ -F_DUPFD: 100 +F_DUPFD: 1 errno: 0 F_DUPFD/error1: -1 diff --git a/tests/fcntl/src.c b/tests/fcntl/src.c index c8c71c8a..c60e578e 100644 --- a/tests/fcntl/src.c +++ b/tests/fcntl/src.c @@ -5,7 +5,7 @@ int main() { int f = open("/test", O_RDWR, 0777); - printf("F_DUPFD: %d\n", fcntl(f, F_DUPFD, 100)); + printf("F_DUPFD: %d\n", fcntl(f, F_DUPFD, 100) >= 100); printf("errno: %d\n", errno); printf("\n"); errno = 0; diff --git a/tests/runner.py b/tests/runner.py index 0aefb8e1..3230fa23 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -3134,7 +3134,7 @@ Exiting setjmp function, level: 0, prev_jmp: -1 Settings.SAFE_HEAP = 1 - for addr in ['0', '7', 'new D2()']: + for addr in ['0', 'new D2()']: print addr src = r''' #include <stdio.h> @@ -5018,6 +5018,7 @@ The current type of b is: 9 self.do_run(src, '*16,0,4,8,8,12|20,0,4,4,8,12,12,16|24,0,20,0,4,4,8,12,12,16*\n*0,0,0,1,2,64,68,69,72*\n*2*') def test_runtimelink(self): + return self.skip('shared libs are deprecated') if Building.LLVM_OPTS: return self.skip('LLVM opts will optimize printf into puts in the parent, and the child will still look for puts') if Settings.ASM_JS: return self.skip('asm does not support runtime linking') @@ -5036,6 +5037,7 @@ The current type of b is: 9 self.do_run(main, 'supp: 54,2\nmain: 56\nsupp see: 543\nmain see: 76\nok.') def test_dlfcn_basic(self): + return self.skip('shared libs are deprecated') if Settings.ASM_JS: return self.skip('TODO: dlopen in asm') Settings.NAMED_GLOBALS = 1 @@ -5090,6 +5092,7 @@ def process(filename): post_build=add_pre_run_and_checks) def test_dlfcn_qsort(self): + return self.skip('shared libs are deprecated') if self.emcc_args is None: return self.skip('requires emcc') if Settings.ASM_JS: return self.skip('TODO: dlopen in asm') @@ -5186,6 +5189,7 @@ def process(filename): post_build=add_pre_run_and_checks) def test_dlfcn_data_and_fptr(self): + return self.skip('shared libs are deprecated') if Settings.ASM_JS: return self.skip('TODO: dlopen in asm') if Building.LLVM_OPTS: return self.skip('LLVM opts will optimize out parent_func') @@ -5290,6 +5294,7 @@ def process(filename): post_build=add_pre_run_and_checks) def test_dlfcn_alias(self): + return self.skip('shared libs are deprecated') if Settings.ASM_JS: return self.skip('TODO: dlopen in asm') Settings.LINKABLE = 1 @@ -5347,6 +5352,7 @@ def process(filename): Settings.INCLUDE_FULL_LIBRARY = 0 def test_dlfcn_varargs(self): + return self.skip('shared libs are deprecated') if Settings.ASM_JS: return self.skip('TODO: dlopen in asm') Settings.LINKABLE = 1 @@ -9959,6 +9965,7 @@ f.close() self.assertContained('hello from lib', run_js(os.path.join(self.get_dir(), 'a.out.js'))) def test_runtimelink_multi(self): + return self.skip('shared libs are deprecated') if Settings.ASM_JS: return self.skip('asm does not support runtime linking yet') if SPIDERMONKEY_ENGINE not in JS_ENGINES: return self.skip('cannot run without spidermonkey due to node limitations') @@ -12155,6 +12162,7 @@ elif 'browser' in str(sys.argv): self.btest('perspective.c', reference='perspective.png') def test_runtimelink(self): + return self.skip('shared libs are deprecated') main, supp = self.setup_runtimelink_test() open(self.in_dir('supp.cpp'), 'w').write(supp) |