forked from Imagelibrary/rtems
Unused and removed.
This commit is contained in:
@@ -1,39 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign 1.4
|
|
||||||
TEST = psxfile02
|
|
||||||
|
|
||||||
MANAGERS = all
|
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
|
||||||
C_FILES = main.c test.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
|
||||||
|
|
||||||
DOCTYPES = scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
PGM = ${ARCH}/$(TEST).exe
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
include $(top_srcdir)/psxtests.am
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
${PGM}: $(OBJS) $(LINK_FILES)
|
|
||||||
$(make-exe)
|
|
||||||
|
|
||||||
# all-local: $(ARCH) $(TMPINSTALL_FILES)
|
|
||||||
|
|
||||||
EXTRA_DIST = $(C_FILES) $(DOCS)
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
/*
|
|
||||||
* Simple test program -- simplified version of sample test hello.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#define TEST_INIT
|
|
||||||
|
|
||||||
#include <bsp.h>
|
|
||||||
|
|
||||||
void test_main( void );
|
|
||||||
|
|
||||||
rtems_task Init(
|
|
||||||
rtems_task_argument ignored
|
|
||||||
)
|
|
||||||
{
|
|
||||||
test_main();
|
|
||||||
exit( 0 );
|
|
||||||
}
|
|
||||||
|
|
||||||
/* configuration information */
|
|
||||||
|
|
||||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
|
||||||
|
|
||||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
|
||||||
|
|
||||||
#define CONFIGURE_INIT
|
|
||||||
|
|
||||||
#include <confdefs.h>
|
|
||||||
|
|
||||||
/* end of file */
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
@@ -1,49 +0,0 @@
|
|||||||
/*
|
|
||||||
* Simple test program to exercise some of the basic functionality of
|
|
||||||
* POSIX Files and Directories Support.
|
|
||||||
*
|
|
||||||
* This test assumes that the file system is initialized with the
|
|
||||||
* following directory structure:
|
|
||||||
*
|
|
||||||
* XXXX fill this in.
|
|
||||||
* /
|
|
||||||
* /dev
|
|
||||||
* /dev/XXX [where XXX includes at least console]
|
|
||||||
*
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
|
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main entry point of the test
|
|
||||||
*/
|
|
||||||
|
|
||||||
#if defined(__rtems__)
|
|
||||||
int test_main(void)
|
|
||||||
#else
|
|
||||||
int main(
|
|
||||||
int argc,
|
|
||||||
char **argv
|
|
||||||
)
|
|
||||||
#endif
|
|
||||||
{
|
|
||||||
printf( "\n\n*** FILE TEST 2 ***\n" );
|
|
||||||
|
|
||||||
/*
|
|
||||||
* XXX test code goes here
|
|
||||||
*/
|
|
||||||
|
|
||||||
printf( "*** END OF FILE TEST 2 ***\n" );
|
|
||||||
exit( 0 );
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user