Skip to content

Commit 67774cf

Browse files
authored
Remove more trivial tests (#20926)
Trivial tests for the address of a value on the stack, a linked list, globals, and the basic layout of structs are no longer needed here. Also move two libc tests, wcslen and regex, to other.
1 parent 577d55d commit 67774cf

14 files changed

+6
-150
lines changed

test/core/test_addr_of_stacked.c

Lines changed: 0 additions & 15 deletions
This file was deleted.

test/core/test_addr_of_stacked.out

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/core/test_globals.c

Lines changed: 0 additions & 17 deletions
This file was deleted.

test/core/test_globals.out

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/core/test_linked_list.c

Lines changed: 0 additions & 47 deletions
This file was deleted.

test/core/test_linked_list.out

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/core/test_sup.cpp

Lines changed: 0 additions & 40 deletions
This file was deleted.

test/core/test_sup.out

Lines changed: 0 additions & 10 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

test/test_core.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -880,28 +880,10 @@ def test_emmalloc_memalign_corruption(self, *args):
880880
self.set_setting('MALLOC', 'emmalloc')
881881
self.do_core_test('emmalloc_memalign_corruption.cpp')
882882

883-
def test_addr_of_stacked(self):
884-
self.do_core_test('test_addr_of_stacked.c')
885-
886-
def test_globals(self):
887-
self.do_core_test('test_globals.c')
888-
889-
def test_linked_list(self):
890-
self.do_core_test('test_linked_list.c')
891-
892-
def test_sup(self):
893-
self.do_run_in_out_file_test('core/test_sup.cpp')
894-
895883
@also_with_standalone_wasm()
896884
def test_assert(self):
897885
self.do_core_test('test_assert.cpp', assert_returncode=NON_ZERO)
898886

899-
def test_wcslen(self):
900-
self.do_core_test('test_wcslen.c')
901-
902-
def test_regex(self):
903-
self.do_core_test('test_regex.c')
904-
905887
@crossplatform
906888
@also_with_standalone_wasm(impure=True)
907889
def test_longjmp_standalone(self):

test/test_other.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14299,6 +14299,12 @@ def test_strndup(self):
1429914299
def test_errar(self):
1430014300
self.do_other_test('test_errar.c')
1430114301

14302+
def test_wcslen(self):
14303+
self.do_other_test('test_wcslen.c')
14304+
14305+
def test_regex(self):
14306+
self.do_other_test('test_regex.c')
14307+
1430214308
def test_no_input_files(self):
1430314309
err = self.expect_fail([EMCC, '-c'])
1430414310
self.assertContained('clang: error: no input files', err)

0 commit comments

Comments
 (0)