mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 17:26:28 +00:00
Merge pull request #1342 from justincormack/test-restructure
Move test related code to the test directory
This commit is contained in:
commit
dbcf66a074
5
Makefile
5
Makefile
@ -19,7 +19,7 @@ moby-initrd.img: bin/moby moby.yaml
|
||||
|
||||
moby-bzImage: moby-initrd.img
|
||||
|
||||
test-initrd.img: bin/moby test.yaml
|
||||
test-initrd.img: bin/moby test/test.yaml
|
||||
$^
|
||||
|
||||
test-bzImage: test-initrd.img
|
||||
@ -55,7 +55,7 @@ else
|
||||
touch $@
|
||||
endif
|
||||
|
||||
.PHONY: hyperkit hyperkit-test
|
||||
.PHONY: hyperkit
|
||||
hyperkit: scripts/hyperkit.sh bin/com.docker.hyperkit bin/vpnkit moby-initrd.img moby-bzImage moby.yaml
|
||||
./scripts/hyperkit.sh moby
|
||||
|
||||
@ -63,6 +63,7 @@ define check_test_log
|
||||
@cat $1 |grep -q 'Moby test suite PASSED'
|
||||
endef
|
||||
|
||||
.PHONY: hyperkit-test
|
||||
hyperkit-test: scripts/hyperkit.sh bin/com.docker.hyperkit bin/vpnkit test-initrd.img test-bzImage test-cmdline
|
||||
rm -f disk.img
|
||||
script -q /dev/null ./scripts/hyperkit.sh test | tee test.log
|
||||
|
@ -15,9 +15,6 @@ system:
|
||||
capabilities:
|
||||
- CAP_SYS_BOOT
|
||||
read_only: true
|
||||
files:
|
||||
- path: etc/docker/daemon.json
|
||||
contents: '{"debug": true}'
|
||||
outputs:
|
||||
- format: kernel+initrd
|
||||
- format: iso-bios
|
Loading…
Reference in New Issue
Block a user