mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-03-22 15:35:14 +01:00
This avoids "make test" emitting messages from three (3!) recursive invocations of make. We change the invocations of the tests themselves to occur directly from the shell script rather than having the shell script invoke make again and using wildcards in the Makefile.
23 lines
399 B
Bash
Executable file
23 lines
399 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Run tests
|
|
#
|
|
# Copyright (c) 2005 Junio C Hamano
|
|
#
|
|
# Adapted from a Makefile to a shell script by Carl Worth (2010)
|
|
|
|
cd $(dirname "$0")
|
|
|
|
# Clean up any results from a previous run
|
|
rm -r test-results >/dev/null 2>/dev/null
|
|
|
|
# Run the tests
|
|
for test in t[0-9][0-9][0-9][0-9]*.sh; do
|
|
./"$test"
|
|
done
|
|
|
|
# Report results
|
|
./aggregate-results.sh test-results/t*-*
|
|
|
|
# Clean up
|
|
rm -r test-results
|