summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorogasawara@osdl.org <ogasawara@osdl.org>2004-04-21 17:49:49 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:16 -0700
commit738e5c3f28ec5b4907b6bbef41ca721ba8b353ff (patch)
tree42e1910562d205b27c6c30480c3e5628a00ec149
parenta36a3c3a44286e77d6ec05c7579f61b4eb0ee344 (diff)
[PATCH] gcov for udev
Sorry for the late email regarding the gcov code coverage information for udev. For those of you who have not yet noticed, udev can now be compiled with gcov support and provide code coverage analysis. All pertinent scripts and information can be found in the udev tree. Please refer to "README-gcov_for_udev" for detailed information on compiling gcov into udev and obtaining code coverage analysis. I've enclosed a patch that updates the README-gcov_for_udev. Also, "udev-test.pl" in udev/test/ was expanded to test symlinks, permissions, and some lack of node creation a little more thoroughly. All comments and feedback would be greatly welcomed. Also, any extra testing would be appreciated. Thanks,
-rw-r--r--README-gcov_for_udev28
1 files changed, 10 insertions, 18 deletions
diff --git a/README-gcov_for_udev b/README-gcov_for_udev
index fa377bc4af..ca832803a2 100644
--- a/README-gcov_for_udev
+++ b/README-gcov_for_udev
@@ -14,20 +14,11 @@ Note that this was developed with udev version 024.
- Make sure you've installed udev and that it is working properly.
If you are having problems, refer to the README and HOWTO-udev_for_dev
documents in udev tarball. I've also compiled a udev_for_dev
- toubleshooting document for Red Hat which can be found at:
+ toubleshooting document for Red Hat which can be found in:
- http://developer.osdl.org/ogasawara/gcov_for_udev/rh_udev_for_dev.txt
+ docs/rh_udev_for_dev.txt
-- Get the following files:
- make_gcov.sh
- run_gcov.sh
-
- These can be found at http://developer.osdl.org/ogasawara/gcov_for_udev/
-
-- After grabbing these files, copy both make_gcov.sh and run_gcov.sh
- into the top level of your udev directory.
-
-- execute make_gcov.sh
+- execute make_gcov.sh from udev top level directory
./make_gcov.sh
@@ -60,17 +51,18 @@ Note that this was developed with udev version 024.
- Then execute some udev tasks. You can run some udev tests, reboot, or
do anything your little udev heart desires. Once you are satisfied, you
- can now see how much udev code was covered.
+ can now see how much udev code was covered. I personally recommend just
+ running test/udev-test.pl for starters.
-- To get the udev code coverage analysis, execute run_gcov.sh. You need to
- be root to do this.
+- To get the udev code coverage analysis, execute run_gcov.sh from udev top
+ level directory. You need to be root to do this.
su to root
./run_gcov.sh
-- This creates udev_gcov.txt which holds all the code coverage information.
- To see an example of the code coverage info after executing the udev-test.pl
- test, please see:
+- This creates udev_gcov.txt in the udev top level directory which holds all
+ the code coverage information. To see an example of the code coverage info
+ after executing the udev-test.pl test, please see:
http://developer.osdl.org/ogasawara/gcov_for_udev/udev_gcov.txt