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