-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- close #20 - makefile gained targets to estimate code coverage * 'make cov' = same as 'make test' but with code coverage support * 'make cov_run' = run unit tests and gcov on each source file (which were in a previous step compiled with 'make cov') - new bash script 'run_gcov.sh' which executes 'gcov' for each source file; used by 'make cov_run' - updated travis-ci yml to run code coverage unit tests and connect to 'codecov' server
- Loading branch information
Showing
3 changed files
with
45 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
sources_tests='SW_Main_lib.c SW_VegEstab.c SW_Control.c generic.c | ||
rands.c Times.c mymemory.c filefuncs.c | ||
SW_Files.c SW_Model.c SW_Site.c SW_SoilWater.c | ||
SW_Markov.c SW_Weather.c SW_Sky.c SW_Output_mock.c | ||
SW_VegProd.c SW_Flow_lib.c SW_Flow.c SW_Carbon.c' | ||
|
||
for sf in $sources_tests | ||
do | ||
gcov $sf | ||
done |