summaryrefslogtreecommitdiffstats
path: root/c/src/tests
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-12 19:57:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-12 19:57:02 +0000
commit8ef38186faea3d9b5e6f0f1242f668cb7e7a3d52 (patch)
tree9253f150814c99167239f7c2cc850cdd9d92c003 /c/src/tests
parentEnsure that when -msoft-float is specified for multilib builds, that (diff)
downloadrtems-8ef38186faea3d9b5e6f0f1242f668cb7e7a3d52.tar.bz2
Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine Gauthier
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart <Darlene.Stewart@nrc.ca> to add support for a number of very significant things: + BSPs for many variations on the Motorola MBX8xx board series + Cache Manager including initial support for m68040 and PowerPC + Rework of mpc8xx libcpu code so all mpc8xx CPUs now use same code base. + Rework of eth_comm BSP to utiltize above. John reports this works on the 821 and 860
Diffstat (limited to 'c/src/tests')
-rw-r--r--c/src/tests/configure.in1
-rw-r--r--c/src/tests/libtests/termios/init.c5
-rw-r--r--c/src/tests/samples/cdtest/system.h3
-rw-r--r--c/src/tests/sptests/Makefile.am2
-rw-r--r--c/src/tests/sptests/configure.in1
5 files changed, 10 insertions, 2 deletions
diff --git a/c/src/tests/configure.in b/c/src/tests/configure.in
index 2bbfb374f7..e07aeb847e 100644
--- a/c/src/tests/configure.in
+++ b/c/src/tests/configure.in
@@ -67,6 +67,7 @@ AC_SUBST(BARE_CPU_MODEL)
AC_CONFIG_SUBDIRS(tools)
AC_CONFIG_SUBDIRS(support)
AC_CONFIG_SUBDIRS(samples)
+AC_CONFIG_SUBDIRS(libffi)
AC_CONFIG_SUBDIRS($cfg_subdirs)
# Explicitly list all Makefiles here
diff --git a/c/src/tests/libtests/termios/init.c b/c/src/tests/libtests/termios/init.c
index bc4097a8cc..37e6506eea 100644
--- a/c/src/tests/libtests/termios/init.c
+++ b/c/src/tests/libtests/termios/init.c
@@ -24,6 +24,7 @@
#include <bsp.h>
+
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
@@ -587,6 +588,7 @@ void change_line_settings( struct termios *tp )
void canonical_input( struct termios *tp )
{
+ char buffer[256];
char c, first_time = TRUE;
printf( "\nTesting canonical input\n\n" );
@@ -612,6 +614,7 @@ void canonical_input( struct termios *tp )
printf( "\n\nCanonical input test done.\n" );
}
+
/*
* Test raw (ICANON=0) input
*/
@@ -707,7 +710,7 @@ void usage( void )
rtems_task
Init (rtems_task_argument ignored)
{
- char c;
+ char c, done;
struct termios orig_termios, test_termios;
printf( "\n\n*** TEST OF TERMIOS INPUT CAPABILITIES ***\n" );
diff --git a/c/src/tests/samples/cdtest/system.h b/c/src/tests/samples/cdtest/system.h
index 557f3fea8c..d414c35451 100644
--- a/c/src/tests/samples/cdtest/system.h
+++ b/c/src/tests/samples/cdtest/system.h
@@ -34,6 +34,9 @@ rtems_task main_task(
#define CONFIGURE_INIT_TASK_ENTRY_POINT main_task
#define CONFIGURE_INIT_TASK_NAME rtems_build_name( 'C', 'T', 'O', 'R' )
+/* Guess at this one */
+#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 2
+
#include <confdefs.h>
/* end of include file */
diff --git a/c/src/tests/sptests/Makefile.am b/c/src/tests/sptests/Makefile.am
index 7452d72394..f4e22089f6 100644
--- a/c/src/tests/sptests/Makefile.am
+++ b/c/src/tests/sptests/Makefile.am
@@ -8,7 +8,7 @@ ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
## sp10 and spfatal are not included for now
SUBDIRS = sp01 sp02 sp03 sp04 sp05 sp06 sp07 sp08 sp09 sp11 sp12 sp13 sp14 \
sp15 sp16 sp17 sp19 sp20 sp21 sp22 sp23 sp24 sp25 sp26 sp27 sp28 sp29 \
- spsize
+ spsize threaditerate
EXTRA_DIST = sptests.am spfatal
diff --git a/c/src/tests/sptests/configure.in b/c/src/tests/sptests/configure.in
index 0225a1fab1..47dd2200ba 100644
--- a/c/src/tests/sptests/configure.in
+++ b/c/src/tests/sptests/configure.in
@@ -67,6 +67,7 @@ sp27/Makefile
sp28/Makefile
sp29/Makefile
spsize/Makefile
+threaditerate/Makefile
)
# spfatal/Makefile