mirror of
https://github.com/polybar/polybar.git
synced 2024-11-11 13:50:56 -05:00
16 lines
264 B
Bash
Executable file
16 lines
264 B
Bash
Executable file
#!/bin/bash
|
|
r=0
|
|
|
|
make all_unit_tests
|
|
|
|
for test in tests/unit_test.*; do
|
|
[ -x "$test" ] || continue
|
|
|
|
if $test; then
|
|
printf "\033[1;32m%s\033[0m\n" "${test##*/} passed"
|
|
else
|
|
r=1
|
|
printf "\033[1;31m%s\033[0m\n" "${test##*/} failed"
|
|
fi
|
|
done
|
|
exit $r
|