mirror of https://github.com/dynup/kpatch
testing: pass KPATCH_BUILD_OPTS to kpatch-test
Update the test/integration/Makefile to pass a KPATCH_BUILD_OPTS variable to kpatch-test. This allows the user better control over the kpatch build process, for example, building non-atomic replace .ko files on kernels that do support atomic-replace: % make integration KPATCH_BUILD_OPTS="--non-replace" Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
This commit is contained in:
parent
a02668a0f7
commit
a19c4ed296
|
@ -10,13 +10,13 @@ local: slow
|
|||
remote: remote_slow
|
||||
|
||||
slow: clean
|
||||
./kpatch-test -d $(PATCH_DIR) $(PATCHES)
|
||||
./kpatch-test --kpatch-build-opts="$(KPATCH_BUILD_OPTS)" -d $(PATCH_DIR) $(PATCHES)
|
||||
|
||||
quick: clean
|
||||
./kpatch-test -d $(PATCH_DIR) --quick $(PATCHES)
|
||||
./kpatch-test --kpatch-build-opts="$(KPATCH_BUILD_OPTS)" -d $(PATCH_DIR) --quick $(PATCHES)
|
||||
|
||||
cached:
|
||||
./kpatch-test -d $(PATCH_DIR) --cached $(PATCHES)
|
||||
./kpatch-test --kpatch-build-opts="$(KPATCH_BUILD_OPTS)" -d $(PATCH_DIR) --cached $(PATCHES)
|
||||
|
||||
vagrant: vagrant-quick
|
||||
|
||||
|
|
Loading…
Reference in New Issue