1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-01 10:49:24 +08:00

Add test-aggregate-results.sh

This script aggregates test results using Sharness.
This commit is contained in:
Christian Couder
2014-10-25 11:57:31 +02:00
parent 1fb4192642
commit 0aebe75361

19
test/test-aggregate-results.sh Executable file
View File

@ -0,0 +1,19 @@
#!/bin/sh
#
# Script to aggregate results using Sharness
#
# Copyright (c) 2014 Christian Couder
# MIT Licensed; see the LICENSE file in this repository.
#
. ./test-sharness-config.sh
SHARNESS_AGGREGATE="$SHARNESS_DIRECTORY/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"