3 # This list was generated after a run of "make test" using generate_skip_list
5 export GIT_SKIP_TESTS
='
55 #echo "$GIT_SKIP_TESTS" | tr '\n' ' '; exit
59 *) PARALLEL_MAKE
=-j5;;
62 generate_skip_list
() {
66 name
=${d#trash directory.}
69 sed -n "s/.*FAIL \([0-9]*\).*/$short.\1/p"
73 test generate_skip_list
= "$1" && {
79 echo "$*" |
sed 's/.* \(t[0-9].*\)\.sh .*/\1/'
82 get_finished_tests
() {
84 for t
in $CURRENT_TESTS
86 f
=$
(grep failed t
/test-results
/${t%.sh}-[1-9]* 2> /dev
/null
)
89 printf '%70s ' $
(cd t
&& echo $t*.sh
)
90 if test "failed 0" = "$f"
92 echo -e '\033[32mok\033[0m'
94 FAILED_TESTS
="$FAILED_TESTS $t"
95 echo -e '\033[31mfailed\033[0m'
98 REMAINING_TESTS
="$REMAINING_TESTS $t"
101 CURRENT_TESTS
="$REMAINING_TESTS"
105 echo make $PARALLEL_MAKE &&
107 rm -rf test-results
&&
108 time make $PARALLEL_MAKE -k "$@") 2>&1 |
116 TEST_NAME
=$
(get_test_name
"$line")
117 CURRENT_TESTS
="$CURRENT_TESTS $TEST_NAME"
118 printf "Currently running $(echo "$CURRENT_TESTS" |
119 sed 's/-[^ ]*//g')\\r"
126 test -z "$FAILED_TESTS" ||
echo "These tests failed: $FAILED_TESTS"
127 test -z "$CURRENT_TESTS" ||
echo "Unfinished tests: $CURRENT_TESTS")