mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-02 03:28:25 +08:00
Add test-aggregate-results.sh
This script aggregates test results using Sharness.
This commit is contained in:
19
test/test-aggregate-results.sh
Executable file
19
test/test-aggregate-results.sh
Executable 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"
|
Reference in New Issue
Block a user