trident-job / delphi-code-coverage

Automatically exported from code.google.com/p/delphi-code-coverage
0 stars 0 forks source link

Change some switches #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1/ if the "-m" switch is not present use <name>.map where <Name> is the name of 
the exe in "-m" switch. So : 

CodeCoverage -e TestApp.exe -u TestUnit
is equivalent as :

CodeCoverage -e TestApp.exe -m TestApp.map -u TestUnit

2/ use wildcard in "-u" switch ie :
-u *.pas = all the '.pas' files in the directory.

Original issue reported on code.google.com by Phil.Pr...@gmail.com on 25 Oct 2011 at 6:39

GoogleCodeExporter commented 9 years ago
1/ When using the '-e' parameter, the application will automatically set the 
map file to be the application parameter filename, changing the extension to 
'.map' (the code is here 
https://code.google.com/p/delphi-code-coverage/source/browse/trunk/CodeCoverage/
CoverageConfiguration.pas#309 )
If you think this not the case, could you please provide a test case.

2/ I have been thinking of adding the ability to use regular expressions and 
may include it in a later release.
In the mean time, you could use the DOS dir command to list all the Pas files 
in the directory (dir /b *.pas >> somefile) in to a file and use the -uf (-uf 
somefile).

Original comment by ring....@gmail.com on 5 Nov 2011 at 4:03