File: test-aggregate-results.sh

package info (click to toggle)
golang-github-multiformats-go-multihash 0.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 376 kB
  • sloc: sh: 138; makefile: 39
file content (17 lines) | stat: -rwxr-xr-x 409 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#
# Script to aggregate results using Sharness
#
# Copyright (c) 2014 Christian Couder
# MIT Licensed; see the LICENSE file in this repository.
#

SHARNESS_AGGREGATE="lib/sharness/aggregate-results.sh"

test -f "$SHARNESS_AGGREGATE" || {
	echo >&2 "Cannot find: $SHARNESS_AGGREGATE"
	echo >&2 "Please check Sharness installation."
	exit 1
}

ls test-results/t*-*.sh.*.counts | "$SHARNESS_AGGREGATE"