Skip to content

Commit

Permalink
update online coverage rept
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu authored and Ubuntu committed Nov 30, 2018
1 parent fad0e17 commit c2fee21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ before_install:
script:
- ./functional_tests/biodemo-test.sh -p biodemo -d functional_tests/test_data
- ./.travis/unit-test.sh
- coverage combine .coverage functional_tests/test_data/.coverage
- codecov

4 changes: 2 additions & 2 deletions functional_tests/biodemo-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function parse_args {
# ARG3: expected exit status
function test_stdout_exit {
let num_tests+=1
output=$(eval $1)
output=$(eval "coverage run -a ${1/$test_program/$(which $test_program)}")
exit_status=$?
expected_output_file=$2
expected_exit_status=$3
Expand Down Expand Up @@ -125,7 +125,7 @@ function test_stdout_exit {
# important
function test_exit_status {
let num_tests+=1
output=$(eval $1)
output=$(eval "coverage run -a ${1/$test_program/$(which $test_program)}")
exit_status=$?
expected_exit_status=$2
verbose_message "Testing exit status: $1"
Expand Down

0 comments on commit c2fee21

Please sign in to comment.