gcovtools 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -2
- data/bin/gcovtools +0 -1
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1a84fa4cdfcb2c563ce0b833b6273b07c783d14
|
4
|
+
data.tar.gz: fa4d04d0e13cadb4b8aca5acbf6d4a0adca8ab1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 466000bb757ecffcc1743baa13c6d26ba0a490dbb2ee444675eb72c96d70250dbcc3e2bfdda211b118d779386aa01591703d8cf318590963ef069b12350de248
|
7
|
+
data.tar.gz: 77b337e032e1d422ca14c119067714256ad3fd8a5a8bed67609fde313f270ee82249d48a52d18709169a7ec1b64db92b4e455cdb2402bbd1bbe9f54d2d1c717e
|
data/README.md
CHANGED
@@ -16,9 +16,21 @@ Next, install the gem:
|
|
16
16
|
|
17
17
|
This should furnish you with a ```gcovtools``` executable in your path.
|
18
18
|
|
19
|
-
Finally, execute ```gcovtools``` in one of multiple possible ways.
|
19
|
+
Finally, execute ```gcovtools``` in one of multiple possible ways.
|
20
20
|
|
21
|
-
|
21
|
+
For instance, generate a HTML coverage report and pipe it to ```coverage.html```:
|
22
|
+
|
23
|
+
```gcovtools report --format html *.gcov > coverage.html```
|
24
|
+
|
25
|
+
Ditto using recursive directory search:
|
26
|
+
|
27
|
+
```gcovtools report --format html ../some/dir -r > coverage.html```
|
28
|
+
|
29
|
+
Applying a few filters to only include certain source files once extracted from the gcov files, using regular expressions:
|
30
|
+
|
31
|
+
```gcovtools report --format html ../some/dir -r --include subdir/.*\.cpp$ otherdir/.*\.h$ --exclude \.s\.cpp$ > coverage.html```
|
32
|
+
|
33
|
+
That last bit will include all files ending with ```.cpp``` anywhere under some directory named ```subdir```, all files ending with ```.h``` anywhere under some directory named ```otherdir```, but will exclude any file ending with ```.s.cpp``` (which is how someone may name, say, behavioral specification drivers).
|
22
34
|
|
23
35
|
Disclaimer
|
24
36
|
----------
|
data/bin/gcovtools
CHANGED
data/lib/version.rb
CHANGED