-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add much quicker combined test option
Combine all the patch modules into a single kpatch-COMBINED.ko for a much quicker test which still gives 95% or so of the coverage compared to the full test suite. Use "make quick" for use this new option.
- Loading branch information
Showing
4 changed files
with
101 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
test.log | ||
COMBINED.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
all: | ||
all: clean | ||
./kpatch-test | ||
|
||
# Just reuse any already-built modules for the tests. This isn't a | ||
# reliable way to run tests if the code has changed, but it comes in | ||
# handy when creating new tests. | ||
quick: | ||
./kpatch-test -s | ||
quick: clean | ||
./kpatch-test --quick | ||
|
||
cached: | ||
./kpatch-test --cached | ||
|
||
clean: | ||
rm -f *.ko *.log | ||
rm -f *.ko *.log COMBINED.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters