Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: build/linux/chrome_linux.croc

Issue 115591: Add Croc code coverage config for linux. (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # -*- python -*-
2 # Crocodile config file for Chromium linux
3
4 {
5 # List of rules, applied in order
6 'rules' : [
7 # Files/paths to include. Specify these before the excludes, since rules
8 # are in order.
9 {
10 'regexp' : '^#/src/(base|media|net|printing)/',
11 'include' : 1,
12 },
13 # Don't include subversion or mercurial SCM dirs
14 {
15 'regexp' : '.*/(\\.svn|\\.hg)/',
16 'include' : 0,
17 },
18 # Don't include output dirs
19 {
20 'regexp' : '.*/(Debug|Release|sconsbuild|xcodebuild)/',
21 'include' : 0,
22 },
23 # Don't include third-party source
24 {
25 'regexp' : '.*/third_party/',
26 'include' : 0,
27 },
28 # Don't include windows or mac specific files
29 {
30 'regexp' : '.*(_|/)(mac|win)(\\.|_)',
31 'include' : 0,
32 },
33
34 # Groups
35 {
36 'regexp' : '',
37 'group' : 'source',
38 },
39 {
40 'regexp' : '.*_(test|test_linux|unittest)\\.',
41 'group' : 'test',
42 },
43
44 # Languages
45 {
46 'regexp' : '.*\\.(c|h)$',
47 'language' : 'C',
48 },
49 {
50 'regexp' : '.*\\.(cc|cpp|hpp)$',
51 'language' : 'C++',
52 },
53 ],
54
55 # Paths to add source from
56 'add_files' : [
57 '#/src'
58 ],
59
60 # Statistics to print
61 'print_stats' : [
62 {
63 'stat' : 'files_executable',
64 'format' : '*RESULT FilesKnown: files_executable= %d files',
65 },
66 {
67 'stat' : 'files_instrumented',
68 'format' : '*RESULT FilesInstrumented: files_instrumented= %d files',
69 },
70 {
71 'stat' : '100.0 * files_instrumented / files_executable',
72 'format' : '*RESULT FilesInstrumentedPercent: files_instrumented_percent= %g',
73 },
74 {
75 'stat' : 'lines_instrumented',
76 'format' : '*RESULT LinesInstrumented: lines_instrumented= %d lines',
77 },
78 {
79 'stat' : 'lines_covered',
80 'format' : '*RESULT LinesCoveredSource: lines_covered_source= %d lines',
81 'group' : 'source',
82 },
83 {
84 'stat' : 'lines_covered',
85 'format' : '*RESULT LinesCoveredTest: lines_covered_test= %d lines',
86 'group' : 'test',
87 },
88 ],
89 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698