Makefile: clean and rebuild binaries before testing
if you run `make localintegration` from a branch, switch to another and re-run the command again, `ocid` won't get built again causing tests to run with binaries from the old branch you switched from. This patch makes sure we cleanup binaries and rebuild before running tests. Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
9b48e83027
commit
712df31f9c
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -107,7 +107,7 @@ dbuild: ocidimage
|
|||
integration: ocidimage
|
||||
docker run -e TESTFLAGS -e TRAVIS -t --privileged --rm -v ${CURDIR}:/go/src/${PROJECT} ${OCID_IMAGE} make localintegration
|
||||
|
||||
localintegration: binaries
|
||||
localintegration: clean binaries
|
||||
./test/test_runner.sh ${TESTFLAGS}
|
||||
|
||||
binaries: ocid ocic kpod conmon pause bin2img copyimg checkseccomp
|
||||
|
|
Loading…
Reference in a new issue