mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
* Handle the case where a machine produces no coverage data.
svn path=/nixos/trunk/; revision=25477
This commit is contained in:
parent
b5b7375eea
commit
20b8258e68
|
@ -77,11 +77,11 @@ rec {
|
|||
# runTests.
|
||||
makeReport = x: runCommand "report" { buildInputs = [rsync]; }
|
||||
''
|
||||
mkdir -p $TMPDIR/gcov/
|
||||
|
||||
for d in ${x}/coverage-data/*; do
|
||||
|
||||
echo "doing $d"
|
||||
|
||||
ensureDir $TMPDIR/gcov/
|
||||
[ -n "$(ls -A "$d")" ] || continue
|
||||
|
||||
for i in $(cd $d/nix/store && ls); do
|
||||
if ! test -e $TMPDIR/gcov/nix/store/$i; then
|
||||
|
|
Loading…
Reference in a new issue