| 1 | |
| 2 | DIAG=diag.log |
| 3 | BTEST=../../../../btest/btest |
| 4 | |
| 5 | all: cleanup btest-verbose |
| 6 | |
| 7 | # Showing all tests. |
| 8 | btest-verbose: |
| 9 | @$(BTEST) -j -f $(DIAG) |
| 10 | |
| 11 | brief: cleanup btest-brief |
| 12 | |
| 13 | # Brief output showing only failed tests. |
| 14 | btest-brief: |
| 15 | @$(BTEST) -j -b -f $(DIAG) |
| 16 | |
| 17 | # Rerun only the failed tests. |
| 18 | rerun: |
| 19 | @$(BTEST) -r -j -f $(DIAG) |
| 20 | |
| 21 | cleanup: |
| 22 | @rm -f $(DIAG) |
| 23 | @rm -f .btest.failed.dat |
| 24 | @rm -rf .tmp |
| 25 | |
| 26 | .PHONY: all btest-verbose btest-brief brief rerun cleanup |