3 # This list was generated after a run of "make test" using generate_skip_list
5 export GIT_SKIP_TESTS
='
8 #echo "$GIT_SKIP_TESTS" | tr '\n' ' '; exit
12 *) PARALLEL_MAKE
=-j5;;
15 generate_skip_list
() {
19 name
=${d#trash directory.}
22 sed -n -e "s/.*FAIL \([0-9]*\).*/$short.\1/p" \
23 -e "s/^not ok - \([0-9]*\).*/$short.\1/p"
27 test generate_skip_list
= "$1" && {
33 echo "$*" |
sed 's/.* \(t[0-9].*\)\.sh .*/\1/'
36 get_finished_tests
() {
38 for t
in $CURRENT_TESTS
40 f
=$
(grep failed t
/test-results
/${t%.sh}-[1-9]* 2> /dev
/null
)
43 printf '%70s ' $
(cd t
&& echo $t*.sh
)
44 if test "failed 0" = "$f"
46 echo -e '\033[32mok\033[0m'
48 FAILED_TESTS
="$FAILED_TESTS $t"
49 echo -e '\033[31mfailed\033[0m'
52 REMAINING_TESTS
="$REMAINING_TESTS $t"
55 CURRENT_TESTS
="$REMAINING_TESTS"
59 echo make $PARALLEL_MAKE &&
61 rm -rf test-results
&&
62 time make $PARALLEL_MAKE -k "$@" < /dev
/null
) 2>&1 |
70 TEST_NAME
=$
(get_test_name
"$line")
71 CURRENT_TESTS
="$CURRENT_TESTS $TEST_NAME"
72 printf "Currently running $(echo "$CURRENT_TESTS" |
73 sed 's/-[^ ]*//g')\\r"
75 '* passed'*|
'# passed'*)
80 test -z "$FAILED_TESTS" ||
echo "These tests failed: $FAILED_TESTS"
81 test -z "$CURRENT_TESTS" ||
echo "Unfinished tests: $CURRENT_TESTS")