Skip to content

Commit a19c4ed

Browse files
committed
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 <[email protected]>
1 parent a02668a commit a19c4ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/integration/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ local: slow
1010
remote: remote_slow
1111

1212
slow: clean
13-
./kpatch-test -d $(PATCH_DIR) $(PATCHES)
13+
./kpatch-test --kpatch-build-opts="$(KPATCH_BUILD_OPTS)" -d $(PATCH_DIR) $(PATCHES)
1414

1515
quick: clean
16-
./kpatch-test -d $(PATCH_DIR) --quick $(PATCHES)
16+
./kpatch-test --kpatch-build-opts="$(KPATCH_BUILD_OPTS)" -d $(PATCH_DIR) --quick $(PATCHES)
1717

1818
cached:
19-
./kpatch-test -d $(PATCH_DIR) --cached $(PATCHES)
19+
./kpatch-test --kpatch-build-opts="$(KPATCH_BUILD_OPTS)" -d $(PATCH_DIR) --cached $(PATCHES)
2020

2121
vagrant: vagrant-quick
2222

0 commit comments

Comments
 (0)