diff options
Diffstat (limited to 'testsuites/psxtests/psx13')
-rw-r--r-- | testsuites/psxtests/psx13/Makefile.am | 2 | ||||
-rw-r--r-- | testsuites/psxtests/psx13/main.c | 3 | ||||
-rw-r--r-- | testsuites/psxtests/psx13/test.c | 4 |
3 files changed, 7 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx13/Makefile.am b/testsuites/psxtests/psx13/Makefile.am index 09d66c1fca..c47d87f500 100644 --- a/testsuites/psxtests/psx13/Makefile.am +++ b/testsuites/psxtests/psx13/Makefile.am @@ -29,6 +29,8 @@ include $(top_srcdir)/psxtests.am # (OPTIONAL) Add local stuff here using += # +AM_CPPFLAGS += -I$(top_srcdir)/include + ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/testsuites/psxtests/psx13/main.c b/testsuites/psxtests/psx13/main.c index 36175c90a5..6590cc2f24 100644 --- a/testsuites/psxtests/psx13/main.c +++ b/testsuites/psxtests/psx13/main.c @@ -14,6 +14,7 @@ #define TEST_INIT #include <bsp.h> +#include <pmacros.h> void test_main( void ); @@ -22,7 +23,7 @@ rtems_task Init( ) { test_main(); - exit( 0 ); + rtems_test_exit( 0 ); } /* configuration information */ diff --git a/testsuites/psxtests/psx13/test.c b/testsuites/psxtests/psx13/test.c index 6e4de0de8c..e871b11689 100644 --- a/testsuites/psxtests/psx13/test.c +++ b/testsuites/psxtests/psx13/test.c @@ -34,6 +34,8 @@ #include <stdio.h> +#include <pmacros.h> + /*------------------------------------------------------------------- * InitFiles function * @@ -669,7 +671,7 @@ int main( printf ("\n\nError opening files for write!!!!\n"); printf( "\n\n*** END OF TEST PSX13 ***" ); - exit(0); + rtems_test_exit(0); } |