diff options
-rw-r--r-- | testsuites/psxtests/ChangeLog | 4 | ||||
-rw-r--r-- | testsuites/psxtests/psxbarrier01/main.c | 46 |
2 files changed, 50 insertions, 0 deletions
diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog index b822dfef4e..1bf6f6bf8e 100644 --- a/testsuites/psxtests/ChangeLog +++ b/testsuites/psxtests/ChangeLog @@ -1,5 +1,9 @@ 2006-11-15 Joel Sherrill <joel.sherrill@oarcorp.com> + * psxbarrier01/main.c: New file. + +2006-11-15 Joel Sherrill <joel.sherrill@oarcorp.com> + * psxrwlock01/.cvsignore, psxrwlock01/Makefile.am, psxrwlock01/main.c, psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c, psxspin01/.cvsignore, psxspin01/Makefile.am, psxspin01/main.c, diff --git a/testsuites/psxtests/psxbarrier01/main.c b/testsuites/psxtests/psxbarrier01/main.c new file mode 100644 index 0000000000..71274c9cf1 --- /dev/null +++ b/testsuites/psxtests/psxbarrier01/main.c @@ -0,0 +1,46 @@ +/* + * Simple test program -- simplified version of sample test hello. + * + * COPYRIGHT (c) 1989-1999. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#define TEST_INIT + +#include <bsp.h> +#include <pmacros.h> + +void test_main( void ); + +rtems_task Init( + rtems_task_argument ignored +) +{ + test_main(); + rtems_test_exit( 0 ); +} + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 1 +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 + +#define CONFIGURE_MAXIMUM_POSIX_BARRIERS 1 + +#define CONFIGURE_RTEMS_INIT_TASKS_TABLE +#define CONFIGURE_INIT_TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2) + +#define CONFIGURE_INIT + +#include <rtems/confdefs.h> + +/* end of file */ |