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