github.com/whyrusleeping/gx@v0.14.3/tests/lib/test-aggregate-results.sh (about)

     1  #!/bin/sh
     2  #
     3  # Script to aggregate results using Sharness
     4  #
     5  # Copyright (c) 2014 Christian Couder
     6  # MIT Licensed; see the LICENSE file in this repository.
     7  #
     8  
     9  SHARNESS_AGGREGATE="lib/sharness/aggregate-results.sh"
    10  
    11  test -f "$SHARNESS_AGGREGATE" || {
    12  	echo >&2 "Cannot find: $SHARNESS_AGGREGATE"
    13  	echo >&2 "Please check Sharness installation."
    14  	exit 1
    15  }
    16  
    17  ls test-results/t*-*.sh.*.counts | "$SHARNESS_AGGREGATE"