This is the mail archive of the ecos-patches@sources.redhat.com 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]

Give further filesystem tests unique names


The fileio1 and fseek1 tests in the RAM, JFFS2 and FAT filesystem packages 
have non-unique names. All eCos tests should have unique names to avoid 
confusion during automated testing and test analysis. I have renamed the 
files. The attached patch modifies package CDL files to build the files 
with their new names. Checked in.

John Dallaway
eCosCentric Limited
Index: fs/ram/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/fs/ram/current/ChangeLog,v
retrieving revision 1.13
diff -u -5 -r1.13 ChangeLog
--- fs/ram/current/ChangeLog	13 Dec 2004 15:34:53 -0000	1.13
+++ fs/ram/current/ChangeLog	13 Dec 2004 20:29:14 -0000
@@ -1,10 +1,11 @@
 2004-12-13  John Dallaway  <jld@ecoscentric.com>
 
 	* tests/fileio1.c: Rename to ramfs1.c. eCos test names should be
 	unique.
-	* cdl/ramfs.cdl: Build the ramfs1 test.
+	* tests/fseek1.c: Rename to ramfs2.c:
+	* cdl/ramfs.cdl: Build the renamed tests.
 
 2004-03-29  Andrew Lunn  <andrew.lunn@ascom.ch>
 
         * test/fseek1.c: Test the fseek/ftell functions
         * cdl/ramfs.cdl: Added a fseek1 test to the build
Index: fs/ram/current/cdl/ramfs.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/fs/ram/current/cdl/ramfs.cdl,v
retrieving revision 1.7
diff -u -5 -r1.7 ramfs.cdl
--- fs/ram/current/cdl/ramfs.cdl	13 Dec 2004 15:34:54 -0000	1.7
+++ fs/ram/current/cdl/ramfs.cdl	13 Dec 2004 20:29:15 -0000
@@ -181,11 +181,11 @@
 
     cdl_option CYGPKG_FS_RAM_TESTS {
 	display "RAM FS tests"
 	flavor  data
 	no_define
-	calculated { "tests/ramfs1.c tests/fseek1.c" }
+	calculated { "tests/ramfs1 tests/ramfs2" }
             description   "
                 This option specifies the set of tests for the RAM FS package."
         }
     
 }
Index: fs/jffs2/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/fs/jffs2/current/ChangeLog,v
retrieving revision 1.41
diff -u -5 -r1.41 ChangeLog
--- fs/jffs2/current/ChangeLog	11 Dec 2004 12:22:35 -0000	1.41
+++ fs/jffs2/current/ChangeLog	13 Dec 2004 20:29:18 -0000
@@ -1,5 +1,12 @@
+2004-12-13  John Dallaway  <jld@ecoscentric.com>
+
+	* tests/fileio1.c: Rename to jffs2_1.c. eCos test names should be
+	unique.
+	* tests/fseek1.c: Rename to jffs2_2.c.
+	* cdl/jffs2.cdl: Build the renamed tests.
+
 2004-12-10  Per Hedblom  <per.hedblom@abem.se>
 
 	* src/fs-ecos.c: Use filesystem locking not file locking otherwise
 	the node cache can be corrupted by multiple operations on
 	different files at the same time.
@@ -430,10 +437,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) 2004 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.
 //
Index: fs/jffs2/current/cdl/jffs2.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/fs/jffs2/current/cdl/jffs2.cdl,v
retrieving revision 1.19
diff -u -5 -r1.19 jffs2.cdl
--- fs/jffs2/current/cdl/jffs2.cdl	12 Nov 2004 16:50:31 -0000	1.19
+++ fs/jffs2/current/cdl/jffs2.cdl	13 Dec 2004 20:29:18 -0000
@@ -9,10 +9,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) 2004 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.
 ##
@@ -226,11 +227,11 @@
 
     cdl_option CYGPKG_FS_JFFS2_TESTS {
 	display "JFFS2 FS tests"
 	flavor  data
 	no_define
-	calculated { "tests/fileio1.c tests/fseek1.c" }
+	calculated { "tests/jffs2_1 tests/jffs2_2" }
             description   "
                 This option specifies the set of tests for the JFFS2 FS package."
         }
     
 }
Index: fs/fat/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/fs/fat/current/ChangeLog,v
retrieving revision 1.7
diff -u -5 -r1.7 ChangeLog
--- fs/fat/current/ChangeLog	14 Nov 2004 14:04:13 -0000	1.7
+++ fs/fat/current/ChangeLog	13 Dec 2004 20:29:20 -0000
@@ -1,5 +1,11 @@
+2004-12-13  John Dallaway  <jld@ecoscentric.com>
+
+	* tests/fileio1.c: Rename to fatfs1.c. eCos test names should be
+	unique.
+	* cdl/fatfs.cdl: Build the renamed test.
+
 2004-11-14  Jani Monoses <jani@iv.ro>
 
 	* test/fileio1.c: Start the test using main, not via a
 	thread. This makes is more uniform with the other fileio1 tests.
 	
@@ -133,10 +139,11 @@
 //===========================================================================
 //####ECOSGPLCOPYRIGHTBEGIN####
 // -------------------------------------------
 // This file is part of eCos, the Embedded Configurable Operating System.
 // Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
+// Copyright (C) 2004 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.
 //
Index: fs/fat/current/cdl/fatfs.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/fs/fat/current/cdl/fatfs.cdl,v
retrieving revision 1.3
diff -u -5 -r1.3 fatfs.cdl
--- fs/fat/current/cdl/fatfs.cdl	22 Oct 2004 14:10:22 -0000	1.3
+++ fs/fat/current/cdl/fatfs.cdl	13 Dec 2004 20:29:20 -0000
@@ -7,10 +7,11 @@
 # ====================================================================
 #####ECOSGPLCOPYRIGHTBEGIN####
 ## -------------------------------------------
 ## This file is part of eCos, the Embedded Configurable Operating System.
 ## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
+## Copyright (C) 2004 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.
 ##
@@ -116,11 +117,11 @@
     
     cdl_option      CYGPKG_FS_FAT_TESTS {
         display         "FAT FS tests"
         flavor          data
         no_define
-        calculated      { "tests/fileio1.c" }
+        calculated      { "tests/fatfs1" }
         description     "This option specifies the set of tests for the 
                          FAT FS package."
     }
 }
 

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