File: Makefile

package info (click to toggle)
preseed 1.85
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 800 kB
  • ctags: 12
  • sloc: sh: 435; perl: 153; makefile: 5
file content (6 lines) | stat: -rw-r--r-- 239 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
#!/usr/bin/make -f

TESTS=$(wildcard t/*.t)

check:
	failures=0; for t in $(TESTS); do $$t || failures=$$((failures+1)); done; if [ $$failures -gt 0 ]; then echo Test suite failures: $$failures; exit 1; else echo Test suite successful; fi