diff --git a/test/test-aggregate-results.sh b/test/test-aggregate-results.sh new file mode 100755 index 000000000..fdac06dea --- /dev/null +++ b/test/test-aggregate-results.sh @@ -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"