summaryrefslogtreecommitdiffstats
path: root/c/src/tests
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-11-11 01:00:22 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-11-11 01:00:22 +0000
commit1931470a9d0c4f749c0f5662825c4ea048db0aac (patch)
treeaa08bdc8cd6d007f05ef3a7423df4a4a98225cac /c/src/tests
parent2003-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-1931470a9d0c4f749c0f5662825c4ea048db0aac.tar.bz2
2003-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/.cvsignore: Remove. * include/Makefile.am: Remove. * include/timesys.h: Remove. * .cvsignore: Remove. * ChangeLog: Remove. * Makefile.am: Remove. * README: Remove. * configure.ac: Remove. * tmitrontests.am: Remove. * tmitronsem01/.cvsignore: Remove. * tmitronsem01/Makefile.am: Remove. * tmitronsem01/init.c: Remove. * tmitronsem01/system.h: Remove. * tmitronsem01/tmitronsem01.doc: Remove.
Diffstat (limited to 'c/src/tests')
-rw-r--r--c/src/tests/tmitrontests/.cvsignore14
-rw-r--r--c/src/tests/tmitrontests/ChangeLog139
-rw-r--r--c/src/tests/tmitrontests/Makefile.am14
-rw-r--r--c/src/tests/tmitrontests/README6
-rw-r--r--c/src/tests/tmitrontests/configure.ac38
-rw-r--r--c/src/tests/tmitrontests/include/.cvsignore2
-rw-r--r--c/src/tests/tmitrontests/include/Makefile.am8
-rw-r--r--c/src/tests/tmitrontests/include/timesys.h55
-rw-r--r--c/src/tests/tmitrontests/tmitronsem01/.cvsignore2
-rw-r--r--c/src/tests/tmitrontests/tmitronsem01/Makefile.am45
-rw-r--r--c/src/tests/tmitrontests/tmitronsem01/init.c144
-rw-r--r--c/src/tests/tmitrontests/tmitronsem01/system.h39
-rw-r--r--c/src/tests/tmitrontests/tmitronsem01/tmitronsem01.doc9
-rw-r--r--c/src/tests/tmitrontests/tmitrontests.am13
14 files changed, 0 insertions, 528 deletions
diff --git a/c/src/tests/tmitrontests/.cvsignore b/c/src/tests/tmitrontests/.cvsignore
deleted file mode 100644
index bfdfd995be..0000000000
--- a/c/src/tests/tmitrontests/.cvsignore
+++ /dev/null
@@ -1,14 +0,0 @@
-aclocal.m4
-autom4te*.cache
-config.cache
-config.guess
-config.log
-config.status
-config.sub
-configure
-depcomp
-install-sh
-Makefile
-Makefile.in
-missing
-mkinstalldirs
diff --git a/c/src/tests/tmitrontests/ChangeLog b/c/src/tests/tmitrontests/ChangeLog
deleted file mode 100644
index b54eea672a..0000000000
--- a/c/src/tests/tmitrontests/ChangeLog
+++ /dev/null
@@ -1,139 +0,0 @@
-2003-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * include/.cvsignore: Remove.
- * include/Makefile.am: Remove.
- * include/timesys.h: Remove.
- * .cvsignore: Remove.
- * ChangeLog: Remove.
- * Makefile.am: Remove.
- * README: Remove.
- * configure.ac: Remove.
- * tmitrontests.am: Remove.
- * tmitronsem01/.cvsignore: Remove.
- * tmitronsem01/Makefile.am: Remove.
- * tmitronsem01/init.c: Remove.
- * tmitronsem01/system.h: Remove.
- * tmitronsem01/tmitronsem01.doc: Remove.
-
-2003-10-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: Remove RTEMS_CANONICAL_HOST.
-
-2003-10-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac:Remove RTEMS_CHECK_CPU.
-
-2003-09-04 Joel Sherrill <joel@OARcorp.com>
-
- * include/timesys.h, tmitronsem01/init.c, tmitronsem01/system.h,
- tmitronsem01/tmitronsem01.doc: URL for license changed.
-
-2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Reflect having moved aclocal/.
-
-2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Reflect having moved automake/.
- * include/Makefile.am: Reflect having moved automake/.
- * tmitronsem01/Makefile.am: Reflect having moved automake/.
-
-2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: Use rtems-bugs@rtems.com as bug report email address.
-
-2003-05-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: Remove CC_CFLAGS_DEBUG_V.
- CC_CFLAGS_DEFAULT (obsolete).
-
-2003-05-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: Remove CC_CFLAGS_PROFILE_V.
- Remove CC_LDFLAGS_PROFILE_V.
-
-2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: Remove AC_CONFIG_AUX_DIR.
-
-2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
-
-2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: AC_PREREQ(2.57).
-
-2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * .cvsignore: Reformat.
- Add autom4te*cache.
- Remove autom4te.cache.
-
-2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * tmitronsem01/Makefile.am: Use .$(OBJEXT) instead of .o.
-
-2002-08-01 Joel Sherrill <joel@OARcorp.com>
-
- * Per PR47 add support for buffered test output. This involved
- adding defines to redirect output to a buffer and dump it when
- full, at "test pause", and at exit. To avoid problems when redefining
- exit(), all tests were modified to call rtems_test_exit().
- Some tests, notable psxtests, had to be modified to include
- the standard test macro .h file (pmacros.h or tmacros.h) to
- enable this support.
- * tmitronsem01/init.c: Modified.
-
-2002-04-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: Remove ENABLE_GCC28.
-
-2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac:
- AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
- AM_INIT_AUTOMAKE([no-define foreign 1.6]).
- * include/Makefile.am: Remove AUTOMAKE_OPTIONS.
- * Makefile.am: Remove AUTOMAKE_OPTIONS.
- * tmitronsem01/Makefile.am: Remove AUTOMAKE_OPTIONS.
-
-2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * .cvsignore: Add autom4te.cache for autoconf > 2.52.
- * configure.in: Remove.
- * configure.ac: New file, generated from configure.in by autoupdate.
-
-2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * tmitrontests.am: Use TMPINSTALL_FILES = to make automake-1.5 happy.
-
-2001-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * tmitronsem01/Makefile.am: include leaf.am instead of leaf.cfg.
-
-2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
-
-2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
-
-2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
-
-2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
- Switch to GNU canonicalization.
- * tmitrontests.am: Remove DEFS.
-
-2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * tmitronsem01/Makefile.am: Include compile.am
-
-2000-08-10 Joel Sherrill <joel@OARcorp.com>
-
- * ChangeLog: New file.
diff --git a/c/src/tests/tmitrontests/Makefile.am b/c/src/tests/tmitrontests/Makefile.am
deleted file mode 100644
index 52ca1069bf..0000000000
--- a/c/src/tests/tmitrontests/Makefile.am
+++ /dev/null
@@ -1,14 +0,0 @@
-##
-## $Id$
-##
-
-ACLOCAL_AMFLAGS = -I ../aclocal
-
-ITRON_DIRS = include tmitronsem01
-
-SUBDIRS = $(ITRON_DIRS)
-
-EXTRA_DIST = tmitrontests.am
-
-include $(top_srcdir)/../automake/subdirs.am
-include $(top_srcdir)/../automake/local.am
diff --git a/c/src/tests/tmitrontests/README b/c/src/tests/tmitrontests/README
deleted file mode 100644
index 65c5d4165d..0000000000
--- a/c/src/tests/tmitrontests/README
+++ /dev/null
@@ -1,6 +0,0 @@
-#
-# $Id$
-#
-
-This directory contains the functionality tests for the ITRON 3.0 API
-implementation.
diff --git a/c/src/tests/tmitrontests/configure.ac b/c/src/tests/tmitrontests/configure.ac
deleted file mode 100644
index 4c324d4b33..0000000000
--- a/c/src/tests/tmitrontests/configure.ac
+++ /dev/null
@@ -1,38 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-##
-## $Id$
-
-AC_PREREQ(2.57)
-AC_INIT([rtems-c-src-tests-tmitrontests],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
-AC_CONFIG_SRCDIR([tmitronsem01])
-RTEMS_TOP(../../../..)
-
-RTEMS_CANONICAL_TARGET_CPU
-
-AM_INIT_AUTOMAKE([no-define foreign 1.7.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENABLE_BARE
-
-RTEMS_ENV_RTEMSBSP
-
-RTEMS_PROJECT_ROOT
-
-RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
-
-RTEMS_CANONICALIZE_TOOLS
-
-RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
-
-AC_SUBST(BARE_CPU_CFLAGS)
-AC_SUBST(BARE_CPU_MODEL)
-
-OPERATION_COUNT=${OPERATION_COUNT-100}
-AC_SUBST(OPERATION_COUNT)
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile
-include/Makefile
-tmitronsem01/Makefile
-])
-AC_OUTPUT
diff --git a/c/src/tests/tmitrontests/include/.cvsignore b/c/src/tests/tmitrontests/include/.cvsignore
deleted file mode 100644
index 282522db03..0000000000
--- a/c/src/tests/tmitrontests/include/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-Makefile
-Makefile.in
diff --git a/c/src/tests/tmitrontests/include/Makefile.am b/c/src/tests/tmitrontests/include/Makefile.am
deleted file mode 100644
index 536b382fc2..0000000000
--- a/c/src/tests/tmitrontests/include/Makefile.am
+++ /dev/null
@@ -1,8 +0,0 @@
-##
-## $Id$
-##
-
-
-noinst_HEADERS = timesys.h
-
-include $(top_srcdir)/../automake/local.am
diff --git a/c/src/tests/tmitrontests/include/timesys.h b/c/src/tests/tmitrontests/include/timesys.h
deleted file mode 100644
index c26e447e11..0000000000
--- a/c/src/tests/tmitrontests/include/timesys.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/* timesys.h
- *
- * This header file contains the global variables for the Time
- * suite.
- *
- * 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$
- */
-
-#include <tmacros.h>
-
-/*
- * How many times a particular operation is performed while timed.
- */
-
-#ifndef OPERATION_COUNT
-#define OPERATION_COUNT 100
-#endif
-
-/* functions */
-
-#define put_time( _message, _total_time, \
- _iterations, _loop_overhead, _overhead ) \
- printf( \
- "%s %d\n", \
- (_message), \
- (((_total_time) - (_loop_overhead)) / (_iterations)) - (_overhead) \
- )
-
-#if defined(STACK_CHECKER_ON) || defined(RTEMS_DEBUG)
-#define Print_Warning() \
- do { \
- puts( \
- "\n" \
- "THE TIMES REPORTED BY THIS TEST INCLUDE DEBUG CODE!\n" \
- "\n" \
- ); \
- } while (0)
-
-#else
-#define Print_Warning()
-#endif
-
-/* variables */
-
-TEST_EXTERN volatile unsigned32 end_time; /* ending time variable */
-TEST_EXTERN volatile unsigned32 overhead; /* loop overhead variable */
-
-/* end of include file */
diff --git a/c/src/tests/tmitrontests/tmitronsem01/.cvsignore b/c/src/tests/tmitrontests/tmitronsem01/.cvsignore
deleted file mode 100644
index 282522db03..0000000000
--- a/c/src/tests/tmitrontests/tmitronsem01/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-Makefile
-Makefile.in
diff --git a/c/src/tests/tmitrontests/tmitronsem01/Makefile.am b/c/src/tests/tmitrontests/tmitronsem01/Makefile.am
deleted file mode 100644
index e0da19b4fd..0000000000
--- a/c/src/tests/tmitrontests/tmitronsem01/Makefile.am
+++ /dev/null
@@ -1,45 +0,0 @@
-##
-## $Id$
-##
-
-
-TEST = tmitronsem01
-
-MANAGERS = all
-
-C_FILES = init.c
-C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
-
-H_FILES = system.h
-noinst_HEADERS = $(H_FILES)
-
-DOCTYPES = doc
-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 $(top_srcdir)/../automake/compile.am
-include $(top_srcdir)/../automake/leaf.am
-include $(top_srcdir)/tmitrontests.am
-
-#
-# (OPTIONAL) Add local stuff here using +=
-#
-
-OPERATION_COUNT = @OPERATION_COUNT@
-AM_CPPFLAGS += -I$(top_srcdir)/include -DOPERATION_COUNT=$(OPERATION_COUNT)
-
-${PGM}: $(OBJS) $(LINK_FILES)
- $(make-exe)
-
-all-local: $(ARCH) $(TMPINSTALL_FILES)
-
-EXTRA_DIST = $(C_FILES) $(DOCS)
-
-include $(top_srcdir)/../automake/local.am
diff --git a/c/src/tests/tmitrontests/tmitronsem01/init.c b/c/src/tests/tmitrontests/tmitronsem01/init.c
deleted file mode 100644
index e840ab9333..0000000000
--- a/c/src/tests/tmitrontests/tmitronsem01/init.c
+++ /dev/null
@@ -1,144 +0,0 @@
-/* Init
- *
- * This routine is the initialization task for this test program.
- * It is called from init_exec and has the responsibility for creating
- * and starting the tasks that make up the test. If the time of day
- * clock is required for the test, it should also be set to a known
- * value by this function.
- *
- * Input parameters: NONE
- *
- * Output parameters: NONE
- *
- * 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 "system.h"
-#include <timesys.h>
-#include <stdio.h>
-
-void ITRON_Init( void )
-{
- T_CSEM pk_csem;
- T_RSEM pk_rsem;
- int index;
-
- pk_csem.isemcnt = 2;
- pk_csem.maxsem = 3;
- pk_csem.sematr = TA_TFIFO;
-
- printf( "\n\n*** TMITRON01 -- ITRON TIMING TEST ***\n" );
-
- /*
- * time one invocation of cre_sem
- */
-
- Timer_initialize();
- (void) cre_sem( 1, &pk_csem );
- end_time = Read_timer();
- put_time(
- "cre_sem",
- end_time,
- 1,
- 0, /* no loop overhead to take out */
- 0 /* no calling overhead */
- );
-
- /*
- * time one invocation of del_sem
- */
-
- Timer_initialize();
- (void) del_sem( 1 );
- end_time = Read_timer();
- put_time(
- "del_sem",
- end_time,
- 1,
- 0, /* no loop overhead to take out */
- 0 /* no calling overhead */
- );
-
- pk_csem.isemcnt = 100;
- pk_csem.maxsem = 100;
- pk_csem.sematr = TA_TFIFO;
- (void) cre_sem( 1, &pk_csem );
-
- /*
- * time preq_sem (available)
- */
-
- Timer_initialize();
- for ( index = 1 ; index<=OPERATION_COUNT ; index++ )
- (void) preq_sem( 1 );
- end_time = Read_timer();
- put_time(
- "preq_sem (available)",
- end_time,
- OPERATION_COUNT,
- 0, /* don't take the loop overhead out */
- 0 /* no calling overhead */
- );
-
- /*
- * time preq_sem (not available)
- */
-
- Timer_initialize();
- for ( index = 1 ; index<=OPERATION_COUNT ; index++ )
- (void) preq_sem( 1 );
- end_time = Read_timer();
- put_time(
- "preq_sem (not available)",
- end_time,
- OPERATION_COUNT,
- 0, /* don't take the loop overhead out */
- 0 /* no calling overhead */
- );
-
- /*
- * time sig_sem (no waiting tasks)
- */
-
- Timer_initialize();
- for ( index = 1 ; index<=OPERATION_COUNT ; index++ )
- (void) sig_sem( 1 );
- end_time = Read_timer();
- put_time(
- "sig_sem (no waiting tasks)",
- end_time,
- OPERATION_COUNT,
- 0, /* don't take the loop overhead out */
- 0 /* no calling overhead */
- );
-
- /*
- * time ref_sem
- */
-
- Timer_initialize();
- for ( index = 1 ; index<=OPERATION_COUNT ; index++ )
- (void) ref_sem( 1, &pk_rsem );
- end_time = Read_timer();
- put_time(
- "ref_sem",
- end_time,
- OPERATION_COUNT,
- 0, /* don't take the loop overhead out */
- 0 /* no calling overhead */
- );
-
- printf( "\n\nXXX ADD BLOCKING AND PREEMPTING TIME TESTS\n\n" );
-
-
- printf( "*** END OF TMITRON01 -- ITRON TIMING TEST ***\n" );
- rtems_test_exit( 0 );
-}
diff --git a/c/src/tests/tmitrontests/tmitronsem01/system.h b/c/src/tests/tmitrontests/tmitronsem01/system.h
deleted file mode 100644
index 1b8d101a6c..0000000000
--- a/c/src/tests/tmitrontests/tmitronsem01/system.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/* system.h
- *
- * This include file contains information that is included in every
- * function in the test set.
- *
- * 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$
- */
-
-#include <tmacros.h>
-#include <itron.h>
-#include <assert.h>
-
-/* functions */
-
-void ITRON_Init( void );
-
-/* configuration information */
-
-#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
-#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
-
-#define CONFIGURE_MAXIMUM_ITRON_TASKS 1
-#define CONFIGURE_MAXIMUM_ITRON_SEMAPHORES 100
-#define CONFIGURE_ITRON_INIT_TASK_TABLE
-
-#include <confdefs.h>
-
-/* global variables */
-
-TEST_EXTERN rtems_id Global_variable; /* example global variable */
-
-/* end of include file */
diff --git a/c/src/tests/tmitrontests/tmitronsem01/tmitronsem01.doc b/c/src/tests/tmitrontests/tmitronsem01/tmitronsem01.doc
deleted file mode 100644
index 717c02a792..0000000000
--- a/c/src/tests/tmitrontests/tmitronsem01/tmitronsem01.doc
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# $Id$
-#
-# 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.
-#
-
-Time some basic ITRON semaphore operations
diff --git a/c/src/tests/tmitrontests/tmitrontests.am b/c/src/tests/tmitrontests/tmitrontests.am
deleted file mode 100644
index c17e0fac5f..0000000000
--- a/c/src/tests/tmitrontests/tmitrontests.am
+++ /dev/null
@@ -1,13 +0,0 @@
-## $Id$
-
-project_bspdir=$(PROJECT_ROOT)/@RTEMS_BSP@
-
-$(project_bspdir)/tests:
- @$(mkinstalldirs) $@
-
-$(project_bspdir)/tests/$(TEST)$(LIB_VARIANT).exe: $(PGM)
- $(INSTALL_PROGRAM) $< $@
-
-TMPINSTALL_FILES = \
-$(project_bspdir)/tests \
-$(project_bspdir)/tests/$(TEST)$(LIB_VARIANT).exe