Skip to content

Commit

Permalink
Move deleting of coverage data to first build-task recording it
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <git@stefan-marr.de>
  • Loading branch information
smarr committed Apr 21, 2017
1 parent 8908140 commit cf0b701
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@
</target>

<target name="som-tests" depends="compile">
<delete file="all.gcov" /> <!-- delete old coverage data, this should be the first task generating coverage data -->
<exec executable="./som" failonerror="true">
<arg value="--coverage" />
<arg value="all.gcov" />
Expand Down
1 change: 0 additions & 1 deletion tests/dym/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ mkdir -p $SCRIPT_PATH/results/
tar xf $SCRIPT_PATH/expected-results.tar.bz2 -C $SCRIPT_PATH/

function runBenchmark {
rm -f $SOM_DIR/all.gcov
BENCH=$1
HARNESS="$SOM_DIR/som -dm -Ddm.metrics=$SCRIPT_PATH/results/$BENCH \
--coverage $SOM_DIR/all.gcov \
Expand Down

0 comments on commit cf0b701

Please sign in to comment.