parent
9b931f4585
commit
cd20f3fc96
@ -1,8 +1,14 @@
|
|||||||
|
DOCKER_IMAGE=ruby
|
||||||
|
|
||||||
default: test
|
default: test
|
||||||
|
|
||||||
build:
|
build-docker:
|
||||||
docker build -t ruby .
|
docker build -t $(DOCKER_IMAGE) .
|
||||||
docker run -d ruby
|
|
||||||
|
test-nspawn:
|
||||||
|
MODULE=nspawn $(MAKE) -C tests test
|
||||||
|
|
||||||
|
test-docker: build-docker
|
||||||
|
MODULE=docker URL=docker=$(DOCKER_IMAGE) $(MAKE) -C tests test
|
||||||
|
|
||||||
test:
|
test: test-nspawn test-docker
|
||||||
$(MAKE) -C tests $@
|
|
||||||
|
@ -1,14 +1,6 @@
|
|||||||
# A workflow with modularity-testing-framework is still uncertain.
|
|
||||||
# Only nspawn is actually used.
|
|
||||||
# https://meta-test-family.readthedocs.io/en/latest/index.html
|
|
||||||
#
|
|
||||||
# Installation
|
# Installation
|
||||||
# $ sudo dnf install modularity-testing-framework python2-avocado
|
# https://meta-test-family.readthedocs.io/en/latest/installation.html#installing-mtf
|
||||||
# $ sudo /usr/bin/pip install behave
|
|
||||||
test:
|
test:
|
||||||
|
mtf-env-set
|
||||||
mtf-generator
|
mtf-generator
|
||||||
MODULE=nspawn \
|
mtf -l *.py
|
||||||
python -d -m avocado run \
|
|
||||||
--filter-by-tags=-WIP \
|
|
||||||
/usr/share/moduleframework/tools/modulelint.py \
|
|
||||||
*.py
|
|
||||||
|
Loading…
Reference in new issue