diff options
Diffstat (limited to 'testsuites/psxtests/psxmount')
-rw-r--r-- | testsuites/psxtests/psxmount/Makefile.am | 2 | ||||
-rw-r--r-- | testsuites/psxtests/psxmount/main.c | 3 | ||||
-rw-r--r-- | testsuites/psxtests/psxmount/test.c | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxmount/Makefile.am b/testsuites/psxtests/psxmount/Makefile.am index 7f754da195..10b5f3a7be 100644 --- a/testsuites/psxtests/psxmount/Makefile.am +++ b/testsuites/psxtests/psxmount/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/psxmount/main.c b/testsuites/psxtests/psxmount/main.c index d448d5fa3c..8bf5f72b7f 100644 --- a/testsuites/psxtests/psxmount/main.c +++ b/testsuites/psxtests/psxmount/main.c @@ -7,6 +7,7 @@ #define TEST_INIT #include <bsp.h> +#include <pmacros.h> void test_main( void ); @@ -15,7 +16,7 @@ rtems_task Init( ) { test_main(); - exit( 0 ); + rtems_test_exit( 0 ); } /* configuration information */ diff --git a/testsuites/psxtests/psxmount/test.c b/testsuites/psxtests/psxmount/test.c index fb420391e0..bf4a704c26 100644 --- a/testsuites/psxtests/psxmount/test.c +++ b/testsuites/psxtests/psxmount/test.c @@ -31,6 +31,7 @@ #include <rtems.h> #include <rtems/libio.h> #include <imfs.h> +#include <pmacros.h> extern rtems_filesystem_location_info_t rtems_filesystem_current; @@ -441,6 +442,6 @@ int main( assert( status == 0 ); printf( "\n\n*** END OF MOUNT/UNMOUNT TEST ***\n" ); - exit(0); + rtems_test_exit(0); } |