change log for rtems-testing (2011-07-20)
rtems-vc at rtems.org
rtems-vc at rtems.org
Wed Jul 20 21:10:06 UTC 2011
*joel*:
2011-07-20 Joel Sherrill <joel.sherrill at oarcorp.com>
* psxtmtest_blocking/init.c: Add template for POSIX timing test of
unblocking operation with no preemption.
* psxtmtest_unblocking_nopreempt/Makefile.am,
psxtmtest_unblocking_nopreempt/TEST.doc,
psxtmtest_unblocking_nopreempt/init.c: New files.
M 1.16 rtems-test-template/ChangeLog
M 1.4 rtems-test-template/psxtmtest_blocking/init.c
A 1.1 rtems-test-template/psxtmtest_unblocking_nopreempt/Makefile.am
A 1.1 rtems-test-template/psxtmtest_unblocking_nopreempt/TEST.doc
A 1.1 rtems-test-template/psxtmtest_unblocking_nopreempt/init.c
diff -u rtems-testing/rtems-test-template/ChangeLog:1.15 rtems-testing/rtems-test-template/ChangeLog:1.16
--- rtems-testing/rtems-test-template/ChangeLog:1.15 Tue Jul 12 08:20:03 2011
+++ rtems-testing/rtems-test-template/ChangeLog Wed Jul 20 15:48:26 2011
@@ -1,3 +1,11 @@
+2011-07-20 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * psxtmtest_blocking/init.c: Add template for POSIX timing test of
+ unblocking operation with no preemption.
+ * psxtmtest_unblocking_nopreempt/Makefile.am,
+ psxtmtest_unblocking_nopreempt/TEST.doc,
+ psxtmtest_unblocking_nopreempt/init.c: New files.
+
2011-07-12 Joel Sherrill <joel.sherrill at oarcorp.com>
* psxtmtest_single/init.c: Fix operation count and move timing to
diff -u rtems-testing/rtems-test-template/psxtmtest_blocking/init.c:1.3 rtems-testing/rtems-test-template/psxtmtest_blocking/init.c:1.4
--- rtems-testing/rtems-test-template/psxtmtest_blocking/init.c:1.3 Thu Jun 30 17:26:16 2011
+++ rtems-testing/rtems-test-template/psxtmtest_blocking/init.c Wed Jul 20 15:48:26 2011
@@ -36,7 +36,7 @@
0
);
- puts( "*** END OF POSIX TIME TEST @DESC@ ***" );
+ puts( "*** END OF POSIX TIME TEST @TESTNUM@ ***" );
rtems_test_exit( 0 );
return NULL;
@@ -58,7 +58,7 @@
int status;
pthread_t threadId;
- puts( "\n\n*** POSIX TIME TEST @DESC@ ***" );
+ puts( "\n\n*** POSIX TIME TEST @TESTNUM@ ***" );
for ( i=0 ; i < OPERATION_COUNT - 1 ; i++ ) {
status = pthread_create( &threadId, NULL, Middle, NULL );
diff -u /dev/null rtems-testing/rtems-test-template/psxtmtest_unblocking_nopreempt/Makefile.am:1.1
--- /dev/null Wed Jul 20 16:10:04 2011
+++ rtems-testing/rtems-test-template/psxtmtest_unblocking_nopreempt/Makefile.am Wed Jul 20 15:48:26 2011
@@ -0,0 +1,30 @@
+##
+## $Id$
+##
+
+MANAGERS = all
+
+rtems_tests_PROGRAMS = @LOWER@
+ at LOWER@_SOURCES = init.c ../../tmtests/include/timesys.h \
+ ../../support/src/tmtests_empty_function.c \
+ ../../support/src/tmtests_support.c
+
+dist_rtems_tests_DATA = @LOWER at .doc
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
+include $(top_srcdir)/../automake/compile.am
+include $(top_srcdir)/../automake/leaf.am
+
+OPERATION_COUNT = @OPERATION_COUNT@
+AM_CPPFLAGS += -I$(top_srcdir)/../tmtests/include
+AM_CPPFLAGS += -DOPERATION_COUNT=$(OPERATION_COUNT)
+AM_CPPFLAGS += -I$(top_srcdir)/../support/include
+
+LINK_OBJS = $(@LOWER at _OBJECTS) $(@LOWER at _LDADD)
+LINK_LIBS = $(@LOWER at _LDLIBS)
+
+ at LOWER@$(EXEEXT): $(@LOWER at _OBJECTS) $(@LOWER at _DEPENDENCIES)
+ @rm -f @LOWER@$(EXEEXT)
+ $(make-exe)
+
+include $(top_srcdir)/../automake/local.am
diff -u /dev/null rtems-testing/rtems-test-template/psxtmtest_unblocking_nopreempt/TEST.doc:1.1
--- /dev/null Wed Jul 20 16:10:04 2011
+++ rtems-testing/rtems-test-template/psxtmtest_unblocking_nopreempt/TEST.doc Wed Jul 20 15:48:26 2011
@@ -0,0 +1,14 @@
+#
+# $Id$
+#
+# COPYRIGHT (c) 1989-2011.
+# 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.
+#
+
+This test benchmarks the following operations:
+
++ @DESC@
diff -u /dev/null rtems-testing/rtems-test-template/psxtmtest_unblocking_nopreempt/init.c:1.1
--- /dev/null Wed Jul 20 16:10:04 2011
+++ rtems-testing/rtems-test-template/psxtmtest_unblocking_nopreempt/init.c Wed Jul 20 15:48:26 2011
@@ -0,0 +1,113 @@
+/*
+ * COPYRIGHT (c) 1989-2011.
+ * 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$
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <coverhd.h>
+#include <tmacros.h>
+#include <timesys.h>
+#include "test_support.h"
+#include <pthread.h>
+#include <sched.h>
+#include <rtems/timerdrv.h>
+
+pthread_mutex_t MutexId;
+
+void *Blockers(
+ void *argument
+)
+{
+ int status;
+
+ /*
+ * Now we have finished the thread startup overhead,
+ * so let other threads run. When we return, we can
+ * finish the benchmark.
+ */
+ sched_yield();
+ /* let other threads run */
+
+ status = pthread_mutex_lock( &MutexId );
+ rtems_test_assert( status == 0 );
+
+ return NULL;
+}
+
+void *POSIX_Init(
+ void *argument
+)
+{
+ int i;
+ int status;
+ pthread_t threadId;
+ long end_time;
+
+ puts( "\n\n*** POSIX TIME TEST MUTEX @TESTNUM@ ***" );
+
+ for ( i=0 ; i < OPERATION_COUNT ; i++ ) {
+ status = pthread_create( &threadId, NULL, Blockers, NULL );
+ rtems_test_assert( status == 0 );
+ }
+
+ /*
+ * Deliberately create the XXX after the threads. This way if the
+ * threads do run before we intend, they will get an error.
+ */
+ status = 0; /* XXX create the resource */
+ rtems_test_assert( status == 0 );
+
+ /*
+ * Ensure the mutex is unavailable so the other threads block.
+ */
+ status = 0; /* XXX ensure the resource is unavailable so the threads block */
+ rtems_test_assert( status == 0 );
+
+ /*
+ * Let the other threads start so the thread startup overhead,
+ * is accounted for. When we return, we can start the benchmark.
+ */
+ sched_yield();
+ /* let other threads run */
+
+ benchmark_timer_initialize();
+ status = 0; /* XXX release the resource */
+ end_time = benchmark_timer_read();
+ rtems_test_assert( status == 0 );
+
+ put_time(
+ "@DESC@",
+ end_time,
+ OPERATION_COUNT,
+ 0,
+ 0
+ );
+
+ puts( "*** END OF POSIX TIME TEST MUTEX @TESTNUM@ ***" );
+ rtems_test_exit( 0 );
+
+ return NULL;
+}
+
+/* configuration information */
+
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
+
+#define CONFIGURE_MAXIMUM_POSIX_THREADS OPERATION_COUNT + 1
+/* XXX configure one of the resources */
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE
+
+#define CONFIGURE_INIT
+
+#include <rtems/confdefs.h>
+ /* end of file */
*joel*:
2011-07-20 Joel Sherrill <joel.sherrill at oarcorp.com>
* mktest: Add option to put test number in.
M 1.16 cvs-helpers/ChangeLog
M 1.6 cvs-helpers/mktest
diff -u rtems-testing/cvs-helpers/ChangeLog:1.15 rtems-testing/cvs-helpers/ChangeLog:1.16
--- rtems-testing/cvs-helpers/ChangeLog:1.15 Fri Jan 28 12:21:20 2011
+++ rtems-testing/cvs-helpers/ChangeLog Wed Jul 20 15:48:43 2011
@@ -1,3 +1,7 @@
+2011-07-20 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * mktest: Add option to put test number in.
+
2011-01-28 Joel Sherrill <joel.sherrill at oarcorp.com>
* cvscommit: Now running Go tests on PowerPC (2/3 passing) and i386 (in
diff -u rtems-testing/cvs-helpers/mktest:1.5 rtems-testing/cvs-helpers/mktest:1.6
--- rtems-testing/cvs-helpers/mktest:1.5 Mon Aug 2 08:14:03 2010
+++ rtems-testing/cvs-helpers/mktest Wed Jul 20 15:48:43 2011
@@ -25,7 +25,7 @@
usage()
{
- echo "$progname -s SOURCE -d DEST -D description [-v]"
+ echo "$progname -s SOURCE -d DEST -D description -n NUMBER [-v]"
echo " OR"
echo "$progname -c -d DEST"
cat <<EOF
@@ -40,14 +40,16 @@
source=
dest=
desc=
+testNum=
verbose=no
-while getopts cd:D:s:v OPT
+while getopts cd:D:s:n:v OPT
do
case "$OPT" in
c) addToCVS=`toggle ${addToCVS}` ;;
d) dest=$OPTARG ;;
D) desc=$OPTARG ;;
s) source=$OPTARG ;;
+ n) testNum=$OPTARG ;;
v) verbose=`toggle ${verbose}` ;;
*) usage ;;
esac
@@ -77,6 +79,8 @@
check_status $? No source provided
test -d "${source}"
check_status $? Source directory not present
+test "X${testNum}" != "X"
+check_status $? No test number provided
test ! -d ${dest}/CVS
check_status $? "Are you sure about ${dest}? Already a CVS directory in it"
@@ -106,6 +110,7 @@
sed -e "s/@LOWER@/${dest}/g" \
-e "s/@UPPER@/${destCaps}/g" \
-e "s/@DESC@/${desc}/g" \
+ -e "s/@TESTNUM@/${testNum}/g" \
<${s} >${d}
check_status $? "Unable to process ${d}"
fi
*joel*:
2011-07-20 Joel Sherrill <joel.sherrill at oarcorp.com>
* gdb-sim-run.in: Add option to skip critical section tests.
* pc386.in: Default to core2duo CPU.
* rtems-gdb-macros-4.11: Update to 4.11.
M 1.99 sim-scripts/ChangeLog
M 1.55 sim-scripts/gdb-sim-run.in
M 1.13 sim-scripts/pc386.in
M 1.2 sim-scripts/rtems-gdb-macros-4.11
diff -u rtems-testing/sim-scripts/ChangeLog:1.98 rtems-testing/sim-scripts/ChangeLog:1.99
--- rtems-testing/sim-scripts/ChangeLog:1.98 Mon Mar 14 09:40:14 2011
+++ rtems-testing/sim-scripts/ChangeLog Wed Jul 20 15:49:47 2011
@@ -1,3 +1,9 @@
+2011-07-20 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * gdb-sim-run.in: Add option to skip critical section tests.
+ * pc386.in: Default to core2duo CPU.
+ * rtems-gdb-macros-4.11: Update to 4.11.
+
2011-03-14 Joel Sherrill <joel.sherrill at oarcorp.com>
* gdb-sim-run.in: Add another generic failure message.
diff -u rtems-testing/sim-scripts/gdb-sim-run.in:1.54 rtems-testing/sim-scripts/gdb-sim-run.in:1.55
--- rtems-testing/sim-scripts/gdb-sim-run.in:1.54 Mon Mar 14 09:40:14 2011
+++ rtems-testing/sim-scripts/gdb-sim-run.in Wed Jul 20 15:49:47 2011
@@ -32,6 +32,7 @@
-G -- put simulator in GDB server mode (default=no)
-i -- interactive (default=no time limit)
-s -- force System V IPC support (default=no)
+ -S -- skip Interrupt Critical Section Tests (default=no)
-l limit -- specify time limit (default is 'BSP dependent')
-L dir -- specify log directory (default is 'log')
-T -- rtems-test command mode
@@ -88,8 +89,9 @@
enable_display_adapter="no"
enable_network="no"
rtems_test="no"
+skipIntrCriticalTest="no"
-while getopts "vcCgGil:L:DsNT" OPT
+while getopts "vcCgGil:L:DsSNT" OPT
do
case "$OPT" in
v) verbose="yes";;
@@ -103,6 +105,7 @@
l) defaultLimit="$OPTARG";;
L) logdir="$OPTARG";;
s) use_sysv_ipc="yes";;
+ S) skipIntrCriticalTest="yes";;
t) doTrace="yes";;
T) rtems_test="yes";;
*) fatal;;
@@ -409,20 +412,30 @@
## If the test is known to be interactive or locks up and we are
## in batch mode, skip it.
- case ${toRun} in
+ case ${baseToRun} in
monitor*|termios.*|fileio*|capture*)
- warn "skipping interactive ${toRun}"
+ warn "skipping interactive ${baseToRun}"
+ continue
+ ;;
+ spintrcritical*|psxintrcritical*)
+ if [ ${skipIntrCriticalTest} = "yes" ] ; then
+ warn "skipping Interrupt Critical Section test ${baseToRun}"
+ continue
+ fi
+ ;;
+ appstart*)
+ warn "skipping intermediate file ${baseToRun}"
continue
;;
*-node2*)
fatal "MP tests not supported"
- warn "Skipping ${toRun}; 'runtest' runs both nodes when for *-node1"
+ warn "Skipping ${baseToRun}; 'runtest' runs both nodes when for *-node1"
continue;;
*-node1*)
- warn "Running both nodes associated with ${toRun}"
+ warn "Running both nodes associated with ${baseToRun}"
;;
pppd*)
- warn "skipping long running ${toRun}"
+ warn "skipping long running ${baseToRun}"
continue
;;
esac
diff -u rtems-testing/sim-scripts/pc386.in:1.12 rtems-testing/sim-scripts/pc386.in:1.13
--- rtems-testing/sim-scripts/pc386.in:1.12 Sun Mar 13 17:17:11 2011
+++ rtems-testing/sim-scripts/pc386.in Wed Jul 20 15:49:47 2011
@@ -59,8 +59,9 @@
# -cpu 486
# can also redirect to file with file:log/"`basename ${1} .exe`
SERIAL_ARG="stdio"
- echo "-m 512 -boot a -cpu 486 -fda ${fd0Image} -hda fat:${hd0Dir} ${COVERAGE_ARG} \
- -monitor null -nographic -serial ${SERIAL_ARG} --no-reboot"
+ echo "-m 512 -boot a -cpu core2duo \
+ -fda ${fd0Image} -hda fat:${hd0Dir} ${COVERAGE_ARG} \
+ -monitor null -nographic -serial ${SERIAL_ARG} --no-reboot"
}
checkBSPFaults()
diff -u rtems-testing/sim-scripts/rtems-gdb-macros-4.11:1.1 rtems-testing/sim-scripts/rtems-gdb-macros-4.11:1.2
--- rtems-testing/sim-scripts/rtems-gdb-macros-4.11:1.1 Fri Jun 4 14:32:36 2010
+++ rtems-testing/sim-scripts/rtems-gdb-macros-4.11 Wed Jul 20 15:49:47 2011
@@ -55,7 +55,7 @@
# rtems_check_state
#
-echo Loading GDB Macro Package for RTEMS 4.10...\n
+echo Loading GDB Macro Package for RTEMS 4.11...\n
#############################################################################
######## Public Helper Macros ########
@@ -317,8 +317,8 @@
set $queues = &$tq->Queues
while $pri_index < $limit
set $chain = &$queues.Priority[$pri_index]
- set $ptail = &$chain->permanent_null
- set $next = $chain->first
+ set $ptail = &$chain->Head.fill
+ set $next = $chain->Head.Node.next
while $next != $ptail
set $t = (struct Thread_Control_struct *)$next
printf "0x%08x@%d ", $t->Object.id, $t->current_priority
@@ -392,8 +392,8 @@
# arg0 = pointer to Watchdog delta chain
#
define rtems_helper_score_watchdog_chain
- set $permt = &$arg0.permanent_null
- set $node = $arg0.first
+ set $permt = &$arg0.Tail.Node
+ set $node = $arg0.Head.Node.next
if $node == $permt
printf "Empty\n"
@@ -908,10 +908,11 @@
#
# ARGUMENTS: NONE
#
-# TODO: For 4.6, check object information table for non-NULL
+# TODO: NONE
define rtems_tasks
- printf "Executing: 0x%x, Heir: 0x%x\n", _Thread_Executing->Object.id, \
- _Thread_Heir.Object.id
+ printf "Executing: 0x%x, Heir: 0x%x\n", \
+ _Per_CPU[0].executing->Object.id, \
+ _Per_CPU[0].heir.Object.id
printf "================================================================\n"
printf "Internal Tasks\n"
rtems_helper_show_tasks _Thread_Internal_information
*joel*:
2011-07-20 Joel Sherrill <joel.sherrill at oarcorp.com>
* psxtest/init.c, psxtest_with_thread/init.c, psxtmtest_single/init.c,
smptest/init.c, sptest/init.c, sptest_operation_from_tsr/init.c,
sptest_with_task/init.c, tmtest/init.c: Switch to @TESTNUM@ for start
and ending message.
M 1.17 rtems-test-template/ChangeLog
M 1.3 rtems-test-template/psxtest/init.c
M 1.3 rtems-test-template/psxtest_with_thread/init.c
M 1.5 rtems-test-template/psxtmtest_single/init.c
M 1.2 rtems-test-template/smptest/init.c
M 1.3 rtems-test-template/sptest/init.c
M 1.5 rtems-test-template/sptest_operation_from_tsr/init.c
M 1.3 rtems-test-template/sptest_with_task/init.c
M 1.3 rtems-test-template/tmtest/init.c
diff -u rtems-testing/rtems-test-template/ChangeLog:1.16 rtems-testing/rtems-test-template/ChangeLog:1.17
--- rtems-testing/rtems-test-template/ChangeLog:1.16 Wed Jul 20 15:48:26 2011
+++ rtems-testing/rtems-test-template/ChangeLog Wed Jul 20 15:51:46 2011
@@ -1,5 +1,12 @@
2011-07-20 Joel Sherrill <joel.sherrill at oarcorp.com>
+ * psxtest/init.c, psxtest_with_thread/init.c, psxtmtest_single/init.c,
+ smptest/init.c, sptest/init.c, sptest_operation_from_tsr/init.c,
+ sptest_with_task/init.c, tmtest/init.c: Switch to @TESTNUM@ for start
+ and ending message.
+
+2011-07-20 Joel Sherrill <joel.sherrill at oarcorp.com>
+
* psxtmtest_blocking/init.c: Add template for POSIX timing test of
unblocking operation with no preemption.
* psxtmtest_unblocking_nopreempt/Makefile.am,
diff -u rtems-testing/rtems-test-template/psxtest/init.c:1.2 rtems-testing/rtems-test-template/psxtest/init.c:1.3
--- rtems-testing/rtems-test-template/psxtest/init.c:1.2 Wed Jun 22 15:53:23 2011
+++ rtems-testing/rtems-test-template/psxtest/init.c Wed Jul 20 15:51:46 2011
@@ -16,11 +16,11 @@
rtems_task_argument argument
)
{
- puts( "\n\n*** POSIX TEST @DESC@ ***" );
+ puts( "\n\n*** POSIX TEST @TESTNUM@ ***" );
/* XXX test code goes here */
- puts( "*** END OF POSIX TEST @DESC@ ***" );
+ puts( "*** END OF POSIX TEST @TESTNUM@ ***" );
rtems_test_exit(0);
}
diff -u rtems-testing/rtems-test-template/psxtest_with_thread/init.c:1.2 rtems-testing/rtems-test-template/psxtest_with_thread/init.c:1.3
--- rtems-testing/rtems-test-template/psxtest_with_thread/init.c:1.2 Wed Jun 22 15:53:23 2011
+++ rtems-testing/rtems-test-template/psxtest_with_thread/init.c Wed Jul 20 15:51:46 2011
@@ -28,12 +28,12 @@
{
int status;
- puts( "\n\n*** POSIX TEST @DESC@ ***" );
+ puts( "\n\n*** POSIX TEST @TESTNUM@ ***" );
status = pthread_create( &ThreadId, NULL, TestThread, NULL );
rtems_test_assert( !status );
- puts( "*** END OF POSIX TEST @DESC@ ***" );
+ puts( "*** END OF POSIX TEST @TESTNUM@ ***" );
rtems_test_exit(0);
}
diff -u rtems-testing/rtems-test-template/psxtmtest_single/init.c:1.4 rtems-testing/rtems-test-template/psxtmtest_single/init.c:1.5
--- rtems-testing/rtems-test-template/psxtmtest_single/init.c:1.4 Tue Jul 12 08:20:03 2011
+++ rtems-testing/rtems-test-template/psxtmtest_single/init.c Wed Jul 20 15:51:46 2011
@@ -43,13 +43,13 @@
)
{
- puts( "\n\n*** POSIX TIME TEST @UPPER@ ***" );
+ puts( "\n\n*** POSIX TIME TEST @TESTNUMR@ ***" );
/* XXX any required initialization goes here */
benchmark_NAME_OF_OPERATION();
- puts( "*** END OF POSIX TIME TEST @UPPER@ ***" );
+ puts( "*** END OF POSIX TIME TEST @TESTNUMR@ ***" );
rtems_test_exit(0);
}
diff -u rtems-testing/rtems-test-template/smptest/init.c:1.1 rtems-testing/rtems-test-template/smptest/init.c:1.2
--- rtems-testing/rtems-test-template/smptest/init.c:1.1 Mon Jun 13 14:28:14 2011
+++ rtems-testing/rtems-test-template/smptest/init.c Wed Jul 20 15:51:46 2011
@@ -29,7 +29,7 @@
rtems_id id;
rtems_status_code status;
- puts( "\n\n*** TEST @UPPER@ ***" );
+ puts( "\n\n*** TEST @TESTNUM@ ***" );
for ( i=0; i<_SMP_Processor_count-1; i++ ) {
ch = '1' + i;
@@ -53,7 +53,7 @@
/* XXX something goes here */
- puts( "*** END OF TEST @UPPER@ ***" );
+ puts( "*** END OF TEST @TESTNUM@ ***" );
rtems_test_exit(0);
}
diff -u rtems-testing/rtems-test-template/sptest/init.c:1.2 rtems-testing/rtems-test-template/sptest/init.c:1.3
--- rtems-testing/rtems-test-template/sptest/init.c:1.2 Wed Jun 22 15:53:24 2011
+++ rtems-testing/rtems-test-template/sptest/init.c Wed Jul 20 15:51:46 2011
@@ -16,11 +16,11 @@
rtems_task_argument argument
)
{
- puts( "\n\n*** TEST @DESC@ ***" );
+ puts( "\n\n*** TEST @TESTNUM@ ***" );
/* XXX test code goes here */
- puts( "*** END OF TEST @DESC@ ***" );
+ puts( "*** END OF TEST @TESTNUM@ ***" );
rtems_test_exit(0);
}
diff -u rtems-testing/rtems-test-template/sptest_operation_from_tsr/init.c:1.4 rtems-testing/rtems-test-template/sptest_operation_from_tsr/init.c:1.5
--- rtems-testing/rtems-test-template/sptest_operation_from_tsr/init.c:1.4 Wed Jun 22 15:53:24 2011
+++ rtems-testing/rtems-test-template/sptest_operation_from_tsr/init.c Wed Jul 20 15:51:46 2011
@@ -31,7 +31,7 @@
rtems_status_code status;
rtems_id timer;
- puts( "\n\n*** TEST @DESC@ ***" );
+ puts( "\n\n*** TEST @TESTNUM@ ***" );
/*
* Timer used in multiple ways
@@ -68,7 +68,7 @@
/* XXX also may be able to confirm operation actually was performed */
puts( "Operation from ISR successfully processed" );
- puts( "*** END OF TEST @DESC@ ***" );
+ puts( "*** END OF TEST @TESTNUM@ ***" );
rtems_test_exit( 0 );
}
diff -u rtems-testing/rtems-test-template/sptest_with_task/init.c:1.2 rtems-testing/rtems-test-template/sptest_with_task/init.c:1.3
--- rtems-testing/rtems-test-template/sptest_with_task/init.c:1.2 Wed Jun 22 15:53:24 2011
+++ rtems-testing/rtems-test-template/sptest_with_task/init.c Wed Jul 20 15:51:46 2011
@@ -26,7 +26,7 @@
rtems_status_code status;
rtems_id task_id;
- puts( "\n\n*** TEST @DESC@ ***" );
+ puts( "\n\n*** TEST @TESTNUM@ ***" );
status = rtems_task_create(
rtems_build_name( 'T', 'E', 'S', 'T' ),
@@ -41,7 +41,7 @@
status = rtems_task_start( task_id, Test_task, 0 );
directive_failed( status, "rtems_task_start" );
- puts( "*** END OF TEST @DESC@ ***" );
+ puts( "*** END OF TEST @TESTNUM@ ***" );
rtems_test_exit(0);
}
diff -u rtems-testing/rtems-test-template/tmtest/init.c:1.2 rtems-testing/rtems-test-template/tmtest/init.c:1.3
--- rtems-testing/rtems-test-template/tmtest/init.c:1.2 Wed Jun 22 15:53:24 2011
+++ rtems-testing/rtems-test-template/tmtest/init.c Wed Jul 20 15:51:46 2011
@@ -18,11 +18,11 @@
rtems_task_argument argument
)
{
- puts( "\n\n*** TIME TEST @DESC@ ***" );
+ puts( "\n\n*** TIME TEST @TESTNUM@ ***" );
/* XXX test code goes here */
- puts( "*** END OF TIME TEST @DESC@ ***" );
+ puts( "*** END OF TIME TEST @TESTNUM@ ***" );
rtems_test_exit(0);
}
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110720/d6fabea1/attachment.html>
More information about the vc
mailing list