From 33ece501be15fa64e76fb8c9faed0dcef12a7ba9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 28 Jun 2010 17:05:25 +0000 Subject: 2010-06-28 Joel Sherrill * Makefile.am, configure.ac, malloctest/init.c, termios03/init.c, termios03/termios03.scn: Handle some of the VKILL and VERASE cases. --- testsuites/libtests/ChangeLog | 5 +++ testsuites/libtests/Makefile.am | 1 + testsuites/libtests/configure.ac | 1 + testsuites/libtests/malloctest/init.c | 23 +++++--------- testsuites/libtests/termios03/init.c | 10 ++++++ testsuites/libtests/termios03/termios03.scn | 49 +++++++++++++++++++++++++++-- 6 files changed, 72 insertions(+), 17 deletions(-) (limited to 'testsuites/libtests') diff --git a/testsuites/libtests/ChangeLog b/testsuites/libtests/ChangeLog index c774242524..1f82e000dc 100644 --- a/testsuites/libtests/ChangeLog +++ b/testsuites/libtests/ChangeLog @@ -1,3 +1,8 @@ +2010-06-28 Joel Sherrill + + * Makefile.am, configure.ac, malloctest/init.c, termios03/init.c, + termios03/termios03.scn: Handle some of the VKILL and VERASE cases. + 2010-06-28 Joel Sherrill * Makefile.am, configure.ac: Add new test to exercise termios RX and TX diff --git a/testsuites/libtests/Makefile.am b/testsuites/libtests/Makefile.am index 4ca02f5077..8aef8ea3f2 100644 --- a/testsuites/libtests/Makefile.am +++ b/testsuites/libtests/Makefile.am @@ -8,6 +8,7 @@ SUBDIRS = POSIX SUBDIRS += bspcmdline01 cpuuse malloctest malloc02 malloc03 heapwalk \ putenvtest monitor monitor02 rtmonuse stackchk stackchk01 \ + termios termios01 termios02 termios03 termios04 termios05 \ termios termios01 termios02 termios03 termios04 \ rtems++ tztest block01 block02 block03 block04 block05 block06 block07 \ block08 block09 block10 stringto01 diff --git a/testsuites/libtests/configure.ac b/testsuites/libtests/configure.ac index e361ae7791..fa91dfff3d 100644 --- a/testsuites/libtests/configure.ac +++ b/testsuites/libtests/configure.ac @@ -62,6 +62,7 @@ termios01/Makefile termios02/Makefile termios03/Makefile termios04/Makefile +termios05/Makefile tztest/Makefile POSIX/Makefile ]) diff --git a/testsuites/libtests/malloctest/init.c b/testsuites/libtests/malloctest/init.c index a2054f6d77..4b88f3b03f 100644 --- a/testsuites/libtests/malloctest/init.c +++ b/testsuites/libtests/malloctest/init.c @@ -1045,20 +1045,13 @@ static void test_posix_memalign(void) sc = posix_memalign( &p1, 2, 8 ); fatal_posix_service_status( sc, EINVAL, "posix_memalign alignment of 2" ); - if ( sizeof(int) == 4 ) - maximumShift = 31; - else if ( sizeof(int) == 2 ) - maximumShift = 15; - else { - printf( "Unsupported int size == %zu\n", sizeof(int) ); - rtems_test_exit(0); - } - for ( i=2 ; i