From 62812daba81dfec31cd3c49eb109121eb3d63e38 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 17 Jun 2010 16:03:51 +0000 Subject: Remove (Abandoned) --- testsuites/tmitrontests/.cvsignore | 14 -- testsuites/tmitrontests/ChangeLog | 265 --------------------- testsuites/tmitrontests/Makefile.am | 12 - testsuites/tmitrontests/README | 6 - testsuites/tmitrontests/configure.ac | 34 --- testsuites/tmitrontests/include/timesys.h | 55 ----- testsuites/tmitrontests/tmitronsem01/.cvsignore | 2 - testsuites/tmitrontests/tmitronsem01/Makefile.am | 30 --- testsuites/tmitrontests/tmitronsem01/init.c | 144 ----------- testsuites/tmitrontests/tmitronsem01/system.h | 38 --- .../tmitrontests/tmitronsem01/tmitronsem01.doc | 9 - 11 files changed, 609 deletions(-) delete mode 100644 testsuites/tmitrontests/.cvsignore delete mode 100644 testsuites/tmitrontests/ChangeLog delete mode 100644 testsuites/tmitrontests/Makefile.am delete mode 100644 testsuites/tmitrontests/README delete mode 100644 testsuites/tmitrontests/configure.ac delete mode 100644 testsuites/tmitrontests/include/timesys.h delete mode 100644 testsuites/tmitrontests/tmitronsem01/.cvsignore delete mode 100644 testsuites/tmitrontests/tmitronsem01/Makefile.am delete mode 100644 testsuites/tmitrontests/tmitronsem01/init.c delete mode 100644 testsuites/tmitrontests/tmitronsem01/system.h delete mode 100644 testsuites/tmitrontests/tmitronsem01/tmitronsem01.doc (limited to 'testsuites/tmitrontests') diff --git a/testsuites/tmitrontests/.cvsignore b/testsuites/tmitrontests/.cvsignore deleted file mode 100644 index bfdfd995be..0000000000 --- a/testsuites/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/testsuites/tmitrontests/ChangeLog b/testsuites/tmitrontests/ChangeLog deleted file mode 100644 index 9384f2237d..0000000000 --- a/testsuites/tmitrontests/ChangeLog +++ /dev/null @@ -1,265 +0,0 @@ -2009-12-08 Joel Sherrill - - * tmitronsem01/system.h: Use rtems_test_assert() consistently instead - of system assert(). rtems_test_assert() is designed to integrate into - the RTEMS test suite infrastructure. - -2009-10-30 Ralf Corsépius - - * include/timesys.h: Use PRId32. - -2009-10-20 Ralf Corsépius - - * configure.ac: Don't add -ansi -fasm to CFLAGS. - -2009-04-03 Ralf Corsépius - - * tmitronsem01/Makefile.am: Makefile.am: Eliminate _exe_/.exe. - -2008-09-17 Joel Sherrill - - * include/timesys.h: Rename STACK_CHECKER_ON to more appropriate - CONFIGURE_STACK_CHECKER_ENABLED. - -2008-08-31 Joel Sherrill - - * tmitronsem01/Makefile.am, tmitronsem01/init.c: Eliminate empty - function from every benchmark timer driver. Fix spelling. - -2008-01-31 Joel Sherrill - - * tmitronsem01/init.c: Change TEST_INIT to CONFIGURE_INIT. Make - tmacros.h available to all POSIX tests. Add a clock_settime case for - < 1988. - -2006-12-02 Ralf Corsépius - - * configure.ac: New BUG-REPORT address. - -2006-10-17 Ralf Corsépius - - * configure.ac: Require autoconf-2.60. Require automake-1.10. - -2006-07-11 Ralf Corsépius - - * tmitronsem01/Makefile.am: Eliminate scndir, docdir. Use - rtems_testsdir instead. - -2005-11-22 Ralf Corsepius - - * configure.ac: Remove RTEMS_ENABLE_BARE, - BARE_CPU_CFLAGS, BARE_CPU_MODEL. - -2005-11-13 Ralf Corsepius - - * tmitronsem01/Makefile.am: Convert to using *_PROGRAMS. - -2005-11-11 Ralf Corsepius - - * tmitronsem01/Makefile.am: Rework. - -2005-11-11 Ralf Corsepius - - * tmitrontests.am: Remove. - * tmitronsem01/Makefile.am: Expand tmitrontests.am. - -2005-11-09 Ralf Corsepius - - * tmitronsem01/Makefile.am: AM_CPPFLAGS += -I..../support/include. - -2005-11-09 Ralf Corsepius - - * tmitrontests.am: Set project_bspdir=$(PROJECT_ROOT) - -2005-11-07 Ralf Corsepius - - * tmitrontests.am: Remove LIB_VARIANT. - -2005-11-07 Ralf Corsepius - - * tmitronsem01/Makefile.am: Remove SRC, PRINT_SRC. - -2005-11-07 Ralf Corsepius - - * Makefile.am: Cleanup. - -2005-11-07 Ralf Corsepius - - * tmitrontests.am: Add $(PGM): ${ARCH}/$(dirstamp). - * tmitronsem01/Makefile.am: - Partial conversion to automake. - -2004-09-24 Ralf Corsepius - - * configure.ac: Require automake > 1.9. - -2004-04-01 Ralf Corsepius - - * tmitronsem01/system.h: Include instead of . - -2004-04-01 Ralf Corsepius - - * tmitronsem01/system.h: Include instead of . - -2004-03-30 Ralf Corsepius - - * include/timesys.h: Convert to using c99 fixed size types. - -2004-03-26 Ralf Corsepius - - * include/Makefile.am: Remove. - * Makefile.am: Merge-in include/Makefile.am. - * configure.ac: Reflect changes above. - -2004-03-25 Ralf Corsepius - - * configure.ac: Add 2nd arg to RTEMS_TOP. - -2004-01-14 Ralf Corsepius - - * tmitronsem01/Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES. - Add PRE/TMPINSTALL_FILES to CLEANFILES. - -2003-12-18 Ralf Corsepius - - * tmitrontests.am: Add dirstamp support. - -2003-12-17 Ralf Corsepius - - * tmitrontests.am: Use $(mkdir_p) instead of $(mkinstalldirs). - -2003-12-12 Ralf Corsepius - - * configure.ac: Require automake >= 1.8, autoconf >= 2.59. - -2003-12-01 Ralf Corsepius - - * include/Makefile.am: Reformat. - * tmitronsem01/Makefile.am: Remove all-local: $(ARCH). - -2003-11-10 Ralf Corsepius - - * configure.ac: Reflect having moved to testsuites/. - -2003-10-22 Ralf Corsepius - - * configure.ac: Remove RTEMS_CANONICAL_HOST. - -2003-10-02 Ralf Corsepius - - * configure.ac:Remove RTEMS_CHECK_CPU. - -2003-09-04 Joel Sherrill - - * include/timesys.h, tmitronsem01/init.c, tmitronsem01/system.h, - tmitronsem01/tmitronsem01.doc: URL for license changed. - -2003-08-18 Ralf Corsepius - - * Makefile.am: Reflect having moved aclocal/. - -2003-08-16 Ralf Corsepius - - * 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 - - * configure.ac: Use rtems-bugs@rtems.com as bug report email address. - -2003-05-27 Ralf Corsepius - - * configure.ac: Remove CC_CFLAGS_DEBUG_V. - CC_CFLAGS_DEFAULT (obsolete). - -2003-05-27 Ralf Corsepius - - * configure.ac: Remove CC_CFLAGS_PROFILE_V. - Remove CC_LDFLAGS_PROFILE_V. - -2003-03-06 Ralf Corsepius - - * configure.ac: Remove AC_CONFIG_AUX_DIR. - -2003-02-11 Ralf Corsepius - - * configure.ac: AM_INIT_AUTOMAKE([1.7.2]). - -2003-02-11 Ralf Corsepius - - * configure.ac: AC_PREREQ(2.57). - -2002-10-21 Ralf Corsepius - - * .cvsignore: Reformat. - Add autom4te*cache. - Remove autom4te.cache. - -2002-08-11 Ralf Corsepius - - * tmitronsem01/Makefile.am: Use .$(OBJEXT) instead of .o. - -2002-08-01 Joel Sherrill - - * 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 - - * configure.ac: Remove ENABLE_GCC28. - -2002-03-27 Ralf Corsepius - - * 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 - - * .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 - - * tmitrontests.am: Use TMPINSTALL_FILES = to make automake-1.5 happy. - -2001-09-19 Ralf Corsepius - - * tmitronsem01/Makefile.am: include leaf.am instead of leaf.cfg. - -2001-05-10 Ralf Corsepius - - * configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]). - -2000-11-09 Ralf Corsepius - - * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. - -2000-11-02 Ralf Corsepius - - * Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal. - -2000-10-27 Ralf Corsepius - - * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. - Switch to GNU canonicalization. - * tmitrontests.am: Remove DEFS. - -2000-09-04 Ralf Corsepius - - * tmitronsem01/Makefile.am: Include compile.am - -2000-08-10 Joel Sherrill - - * ChangeLog: New file. diff --git a/testsuites/tmitrontests/Makefile.am b/testsuites/tmitrontests/Makefile.am deleted file mode 100644 index 3c8833d195..0000000000 --- a/testsuites/tmitrontests/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -## -## $Id$ -## - -ACLOCAL_AMFLAGS = -I ../aclocal - -noinst_HEADERS = include/timesys.h - -SUBDIRS = tmitronsem01 - -include $(top_srcdir)/../automake/subdirs.am -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/tmitrontests/README b/testsuites/tmitrontests/README deleted file mode 100644 index 65c5d4165d..0000000000 --- a/testsuites/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/testsuites/tmitrontests/configure.ac b/testsuites/tmitrontests/configure.ac deleted file mode 100644 index 9e8de499c7..0000000000 --- a/testsuites/tmitrontests/configure.ac +++ /dev/null @@ -1,34 +0,0 @@ -## Process this file with autoconf to produce a configure script. -## -## $Id$ - -AC_PREREQ(2.60) -AC_INIT([rtems-c-src-tests-tmitrontests],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) -AC_CONFIG_SRCDIR([tmitronsem01]) -RTEMS_TOP([../..],[..]) - -RTEMS_CANONICAL_TARGET_CPU - -AM_INIT_AUTOMAKE([no-define foreign 1.10]) -AM_MAINTAINER_MODE - - -RTEMS_ENV_RTEMSBSP - -RTEMS_PROJECT_ROOT - -RTEMS_PROG_CC_FOR_TARGET - -RTEMS_CANONICALIZE_TOOLS - -RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) - - -OPERATION_COUNT=${OPERATION_COUNT-100} -AC_SUBST(OPERATION_COUNT) - -# Explicitly list all Makefiles here -AC_CONFIG_FILES([Makefile -tmitronsem01/Makefile -]) -AC_OUTPUT diff --git a/testsuites/tmitrontests/include/timesys.h b/testsuites/tmitrontests/include/timesys.h deleted file mode 100644 index 3c7cbdd64f..0000000000 --- a/testsuites/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 - -/* - * 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 %" PRId32 "\n", \ - (_message), \ - (((_total_time) - (_loop_overhead)) / (_iterations)) - (_overhead) \ - ) - -#if defined(CONFIGURE_STACK_CHECKER_ENABLED) || 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 uint32_t end_time; /* ending time variable */ -TEST_EXTERN volatile uint32_t overhead; /* loop overhead variable */ - -/* end of include file */ diff --git a/testsuites/tmitrontests/tmitronsem01/.cvsignore b/testsuites/tmitrontests/tmitronsem01/.cvsignore deleted file mode 100644 index 282522db03..0000000000 --- a/testsuites/tmitrontests/tmitronsem01/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -Makefile -Makefile.in diff --git a/testsuites/tmitrontests/tmitronsem01/Makefile.am b/testsuites/tmitrontests/tmitronsem01/Makefile.am deleted file mode 100644 index 6ed227ee8a..0000000000 --- a/testsuites/tmitrontests/tmitronsem01/Makefile.am +++ /dev/null @@ -1,30 +0,0 @@ -## -## $Id$ -## - -MANAGERS = all - -rtems_tests_PROGRAMS = tmitronsem01 -tmitronsem01_SOURCES = init.c system.h \ - ../../support/src/tmtests_empty_function.c - -dist_rtems_tests_DATA = tmitronsem01.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -tmitronsem01_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel) - -OPERATION_COUNT = @OPERATION_COUNT@ -AM_CPPFLAGS += -I$(top_srcdir)/include -DOPERATION_COUNT=$(OPERATION_COUNT) -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(tmitronsem01_OBJECTS) $(tmitronsem01_LDADD) -LINK_LIBS = $(tmitronsem01_LDLIBS) - -tmitronsem01$(EXEEXT): $(tmitronsem01_OBJECTS) $(tmitronsem01_DEPENDENCIES) - @rm -f tmitronsem01$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/tmitrontests/tmitronsem01/init.c b/testsuites/tmitrontests/tmitronsem01/init.c deleted file mode 100644 index 81bdf5a0fc..0000000000 --- a/testsuites/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 CONFIGURE_INIT -#include "system.h" -#include -#include - -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 - */ - - benchmark_timer_initialize(); - (void) cre_sem( 1, &pk_csem ); - end_time = benchmark_timer_read(); - put_time( - "cre_sem", - end_time, - 1, - 0, /* no loop overhead to take out */ - 0 /* no calling overhead */ - ); - - /* - * time one invocation of del_sem - */ - - benchmark_timer_initialize(); - (void) del_sem( 1 ); - end_time = benchmark_timer_read(); - 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) - */ - - benchmark_timer_initialize(); - for ( index = 1 ; index<=OPERATION_COUNT ; index++ ) - (void) preq_sem( 1 ); - end_time = benchmark_timer_read(); - 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) - */ - - benchmark_timer_initialize(); - for ( index = 1 ; index<=OPERATION_COUNT ; index++ ) - (void) preq_sem( 1 ); - end_time = benchmark_timer_read(); - 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) - */ - - benchmark_timer_initialize(); - for ( index = 1 ; index<=OPERATION_COUNT ; index++ ) - (void) sig_sem( 1 ); - end_time = benchmark_timer_read(); - 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 - */ - - benchmark_timer_initialize(); - for ( index = 1 ; index<=OPERATION_COUNT ; index++ ) - (void) ref_sem( 1, &pk_rsem ); - end_time = benchmark_timer_read(); - 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/testsuites/tmitrontests/tmitronsem01/system.h b/testsuites/tmitrontests/tmitronsem01/system.h deleted file mode 100644 index a3f6f8c37a..0000000000 --- a/testsuites/tmitrontests/tmitronsem01/system.h +++ /dev/null @@ -1,38 +0,0 @@ -/* system.h - * - * This include file contains information that is included in every - * function in the test set. - * - * COPYRIGHT (c) 1989-2009. - * 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 -#include - -/* 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 - -/* global variables */ - -TEST_EXTERN rtems_id Global_variable; /* example global variable */ - -/* end of include file */ diff --git a/testsuites/tmitrontests/tmitronsem01/tmitronsem01.doc b/testsuites/tmitrontests/tmitronsem01/tmitronsem01.doc deleted file mode 100644 index 717c02a792..0000000000 --- a/testsuites/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 -- cgit v1.2.3