mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-26 04:47:45 +08:00
30 lines
459 B
Makefile
30 lines
459 B
Makefile
# Run tests
|
|
#
|
|
# Copyright (c) 2014 Christian Couder
|
|
# MIT Licensed; see the LICENSE file in this repository.
|
|
#
|
|
|
|
T = $(sort $(wildcard t[0-9][0-9][0-9][0-9]-*.sh))
|
|
|
|
all: clean deps $(T) aggregate
|
|
|
|
clean:
|
|
@echo "*** $@ ***"
|
|
-rm -r test-results
|
|
|
|
$(T):
|
|
@echo "*** $@ ***"
|
|
./$@
|
|
|
|
aggregate:
|
|
@echo "*** $@ ***"
|
|
./test-aggregate-results.sh
|
|
|
|
deps: sharness.sh
|
|
|
|
sharness.sh:
|
|
@echo "*** installing $@ ***"
|
|
./install-sharness.sh
|
|
|
|
.PHONY: all clean $(T) aggregate
|