tests/docker/Makefile.include: add a generic docker-run target
commite86c9a64f455018fb04d631e14c5f926e36c69fb
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 11 Oct 2016 16:16:24 +0000 (11 17:16 +0100)
committerFam Zheng <famz@redhat.com>
Mon, 17 Oct 2016 02:05:48 +0000 (17 10:05 +0800)
treecddfd44c7d4c08b7957499e9e6cf0d487987f007
parent86a17cb3f43f987d0b2a65dd41284b4d6e2006cb
tests/docker/Makefile.include: add a generic docker-run target

This re-factors the docker makefile to include a docker-run target which
can be controlled entirely from environment variables specified on the
make command line. This allows us to run against any given docker image
we may have in our repository, for example:

    make docker-run TEST="test-quick" IMAGE="debian:arm64" \
         EXECUTABLE=./aarch64-linux-user/qemu-aarch64

The existing docker-foo@bar targets still work but the inline
verification has been dropped because we already don't hit that due to
other pattern rules in rules.mak.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20161011161625.9070-5-alex.bennee@linaro.org>
Message-Id: <20161011161625.9070-6-alex.bennee@linaro.org>
[Squash in the verification removal patch. - Fam]
Signed-off-by: Fam Zheng <famz@redhat.com>
tests/docker/Makefile.include