mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 19:05:37 +00:00
Merge pull request #299 from justincormack/bettertestrun
Improve make test output
This commit is contained in:
commit
0a01b10b1a
4
Makefile
4
Makefile
@ -24,7 +24,9 @@ qemu-arm: Dockerfile.qemu.armhf arm
|
||||
|
||||
test: Dockerfile.test all
|
||||
docker build -f Dockerfile.test -t mobytest:build .
|
||||
docker run --rm mobytest:build | tee test.log | grep 'Moby test suite PASSED'
|
||||
docker run --rm mobytest:build 2>&1 | tee test.log &
|
||||
tail -f test.log | grep -m 1 -q 'Moby test suite '
|
||||
cat test.log | grep -q 'Moby test suite PASSED'
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user