This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Give filesystem tests unique names
- From: John Dallaway <jld at ecoscentric dot com>
- To: ecos-patches at ecos dot sourceware dot org
- Date: Mon, 13 Dec 2004 15:35:12 +0000
- Subject: Give filesystem tests unique names
- Organization: eCosCentric Limited
The fileio1 tests in the RAM and ROM filesystem packages have the same
name as a test in the generic file I/O package. 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/rom/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/fs/rom/current/ChangeLog,v
retrieving revision 1.16
diff -u -5 -r1.16 ChangeLog
--- fs/rom/current/ChangeLog 5 Oct 2004 08:00:43 -0000 1.16
+++ fs/rom/current/ChangeLog 13 Dec 2004 15:24:37 -0000
@@ -1,5 +1,11 @@
+2004-12-13 John Dallaway <jld@ecoscentric.com>
+
+ * tests/fileio1.c: Rename to romfs1.c. eCos test names should be
+ unique.
+ * cdl/romfs.cdl: Build the romfs1 test.
+
2004-10-04 Andrew Lunn <andrew.lunn@ascom.ch>
* src/romfs.c (romfs_mount): Avoid a compiler warning about punned
types.
@@ -117,10 +123,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/rom/current/cdl/romfs.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/fs/rom/current/cdl/romfs.cdl,v
retrieving revision 1.9
diff -u -5 -r1.9 romfs.cdl
--- fs/rom/current/cdl/romfs.cdl 8 Aug 2004 21:23:39 -0000 1.9
+++ fs/rom/current/cdl/romfs.cdl 13 Dec 2004 15:24:37 -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) 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.
##
@@ -109,11 +110,11 @@
cdl_option CYGPKG_FS_ROM_TESTS {
display "ROM filesystem tests"
flavor data
no_define
- calculated { "tests/fileio1" }
+ calculated { "tests/romfs1" }
description "
This option specifies the set of tests for the ROM filesystem package."
}
}
}
Index: fs/ram/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/fs/ram/current/ChangeLog,v
retrieving revision 1.12
diff -u -5 -r1.12 ChangeLog
--- fs/ram/current/ChangeLog 29 Mar 2004 13:01:33 -0000 1.12
+++ fs/ram/current/ChangeLog 13 Dec 2004 15:24:40 -0000
@@ -1,5 +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.
+
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
@@ -70,10 +76,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/ram/current/cdl/ramfs.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/fs/ram/current/cdl/ramfs.cdl,v
retrieving revision 1.6
diff -u -5 -r1.6 ramfs.cdl
--- fs/ram/current/cdl/ramfs.cdl 29 Mar 2004 13:01:33 -0000 1.6
+++ fs/ram/current/cdl/ramfs.cdl 13 Dec 2004 15:24:40 -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) 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.
##
@@ -180,11 +181,11 @@
cdl_option CYGPKG_FS_RAM_TESTS {
display "RAM FS tests"
flavor data
no_define
- calculated { "tests/fileio1.c tests/fseek1.c" }
+ calculated { "tests/ramfs1.c tests/fseek1.c" }
description "
This option specifies the set of tests for the RAM FS package."
}
}