adds runtests.sh script
This commit is contained in:
parent
fae9b38224
commit
958cccf16f
1 changed files with 11 additions and 0 deletions
11
runtests.sh
Executable file
11
runtests.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Runs the tests including generating an lcov.info file
|
||||
|
||||
# abort on failure
|
||||
set -e
|
||||
|
||||
julia -e 'using Coverage; clean_folder(".");'
|
||||
julia --color=yes --inline=no --code-coverage=user test/runtests.jl
|
||||
mkdir -p coverage
|
||||
julia -e 'using Coverage; res=process_folder(); LCOV.writefile("coverage/lcov.info", res)'
|
Loading…
Reference in a new issue