mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
222926abe1
This makes the new, git-derived test suite report results in a manner similar to the original notmuch test suite. Notable changes include: * No more initial '*' on every line * Only colorize a single word * Don't print useless test numbers * Use "PASS" in place of "ok" * Begin sentences with a capital letter * Print test descriptions for each block * Separate each block of tests with a blank line * Don't summarize counts between each block
23 lines
400 B
Bash
Executable file
23 lines
400 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
|