good morning!!!!

Skip to content
Snippets Groups Projects
Select Git revision
  • 13b29abcce0044cc639577d15b9701e40f4bf7d3
  • devel default protected
  • concurrent
  • erigon22
  • body-download
  • merge-1
  • mdbx_erigon
  • roaring_up6
  • alpha
  • eth67
  • anchor-log
  • stable
  • naming
  • apache-mutation
  • gc_cache
  • db_migration_reset_blocks
  • mdbx_aug_dbg_64
  • docker_faster_build
  • readme1
  • readme2
  • optimized_fee_history
  • v2022.06.04
  • v2022.04.05
  • v2022.06.03
  • v2022.06.02
  • v2022.06.01
  • v2022.05.09
  • v2022.05.08
  • v2022.05.07
  • v2022.05.06
  • v2022.05.05
  • v2022.05.04
  • v2022.05.03
  • v2022.05.02
  • v2022.05.01
  • v2022.04.04
  • v2022.04.03
  • v2022.04.02
  • v2022.04.01
  • v2022.03.02
  • v2022.03.01
41 results

evm_semantics.md

Blame
  • Forked from an inaccessible project.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    gocoverage.sh 879 B
    #!/bin/bash
    # The script does automatic checking on a Go package and its sub-packages, including:
    # 6. test coverage (http://blog.golang.org/cover)
    
    set -e
    
    # Run test coverage on each subdirectories and merge the coverage profile.
    
    echo "mode: count" > profile.cov
    
    # Standard go tooling behavior is to ignore dirs with leading underscors
    for dir in $(find . -maxdepth 10 -not -path './.git*' -not -path '*/_*' -type d);
    do
    if ls $dir/*.go &> /dev/null; then
        # echo $dir
        go test -covermode=count -coverprofile=$dir/profile.tmp $dir
        if [ -f $dir/profile.tmp ]
        then
            cat $dir/profile.tmp | tail -n +2 >> profile.cov
            rm $dir/profile.tmp
        fi
    fi
    done
    
    go tool cover -func profile.cov
    
    # To submit the test coverage result to coveralls.io,
    # use goveralls (https://github.com/mattn/goveralls)
    # goveralls -coverprofile=profile.cov -service=travis-ci