This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Renaming of posix tests


eCos test names must be globally unique to avoid clashes within the test
farm infrastructure. I have renamed a few posix tests to accommodate
this. Checked-in.

John Dallaway
eCosCentric Limited
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/compat/posix/current/ChangeLog,v
retrieving revision 1.53
diff -u -5 -r1.53 ChangeLog
--- ChangeLog	12 Jun 2007 20:27:14 -0000	1.53
+++ ChangeLog	28 Mar 2008 09:48:25 -0000
@@ -1,5 +1,14 @@
+2008-03-28  John Dallaway  <jld@ecoscentric.com>
+
+	* tests/tm_basic.cxx: Rename test to tm_posix.cxx.
+	* tests/mqueue1.c: Rename test to pmqueue1.c.
+	* tests/mqueue2.c: Rename test to pmqueue2.c.
+	* tests/mutex3.c: Rename test to pmutex3.c.
+	* cdl/posix.cdl: Accommodate the above renaming. Test names must be
+	globally unique.
+
 2007-06-12  Richard.Yuan <lemonskin@tom.com>
 
 	* src/except.cxx (install_handlers): Fixed typo. Bug #1000373
 	
 2006-07-18  Jonathan Larmour  <jifl@eCosCentric.com>
Index: cdl/posix.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/compat/posix/current/cdl/posix.cdl,v
retrieving revision 1.12
diff -u -5 -r1.12 posix.cdl
--- cdl/posix.cdl	23 Oct 2005 20:44:35 -0000	1.12
+++ cdl/posix.cdl	28 Mar 2008 09:48:25 -0000
@@ -7,10 +7,11 @@
 # ====================================================================
 #####ECOSGPLCOPYRIGHTBEGIN####
 ## -------------------------------------------
 ## This file is part of eCos, the Embedded Configurable Operating System.
 ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
+## Copyright (C) 2008 eCosCentric Limited
 ##
 ## eCos is free software; you can redistribute it and/or modify it under
 ## the terms of the GNU General Public License as published by the Free
 ## Software Foundation; either version 2 or (at your option) any later version.
 ##
@@ -336,21 +337,21 @@
         flavor  data
         no_define
         calculated { 
             (CYGPKG_POSIX_PTHREAD ? "tests/pthread1 tests/pthread2 tests/pthread3 " 
                                   : "") .
-            (CYGPKG_POSIX_PTHREAD_MUTEX ? "tests/mutex3 " : "") .
-            (CYGPKG_POSIX_MQUEUES ? "tests/mqueue1 tests/mqueue2 " : "") .
+            (CYGPKG_POSIX_PTHREAD_MUTEX ? "tests/pmutex3 " : "") .
+            (CYGPKG_POSIX_MQUEUES ? "tests/pmqueue1 tests/pmqueue2 " : "") .
             (CYGPKG_POSIX_SIGNALS ? "tests/signal1 tests/signal2 tests/signal3 \
                                      tests/sigsetjmp " : "") .
             ((CYGPKG_POSIX_SIGNALS && 
               CYGPKG_POSIX_TIMERS && 
               CYGPKG_POSIX_SEMAPHORES) ? "tests/timer1 " : "") .
             ((CYGPKG_POSIX_SIGNALS && 
               CYGPKG_POSIX_TIMERS &&     
               CYGPKG_POSIX_PTHREAD &&
-              CYGPKG_POSIX_SEMAPHORES) ? "tests/tm_basic " : "")
+              CYGPKG_POSIX_SEMAPHORES) ? "tests/tm_posix " : "")
             }
             description   "
                 This option specifies the set of tests for the POSIX package."
         }
 
cvs diff: tests/mqueue1.c was removed, no comparison available
cvs diff: tests/mqueue2.c was removed, no comparison available
cvs diff: tests/mutex3.c was removed, no comparison available
cvs diff: tests/pmqueue1.c is a new entry, no comparison available
cvs diff: tests/pmqueue2.c is a new entry, no comparison available
cvs diff: tests/pmutex3.c is a new entry, no comparison available
cvs diff: tests/tm_basic.cxx was removed, no comparison available
cvs diff: tests/tm_posix.cxx is a new entry, no comparison available

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]