Commit 4e2c5a8
committed
Merge: redhat/spec: Install all selftests in a single step
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/286
JIRA: https://issues.redhat.com/browse/RHEL-70889
Upstream status: RHEL-only
The `make install` command for selftests emits all (sub)test names to
kselftest-list.txt. The problem is that each invocation of the command
overrides the file so running `make install` multiple times (which we do
as we build livepatch selftests separately) will result in an incomplete
kselftest-list.txt.
To fix this, separate the build stage from the install stage and make
sure that the install target is called only once for all the previously
built selftest targets.
Signed-off-by: Viktor Malik <vmalik@redhat.com>
Approved-by: Felix Maurer <fmaurer@redhat.com>
Approved-by: Hangbin Liu <haliu@redhat.com>
Approved-by: Herton R. Krzesinski <herton@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>
Merged-by: Jan Stancek <jstancek@redhat.com>1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3222 | 3222 | | |
3223 | 3223 | | |
3224 | 3224 | | |
3225 | | - | |
| 3225 | + | |
| 3226 | + | |
3226 | 3227 | | |
3227 | 3228 | | |
3228 | 3229 | | |
| |||
3232 | 3233 | | |
3233 | 3234 | | |
3234 | 3235 | | |
3235 | | - | |
| 3236 | + | |
3236 | 3237 | | |
3237 | 3238 | | |
| 3239 | + | |
| 3240 | + | |
| 3241 | + | |
| 3242 | + | |
3238 | 3243 | | |
3239 | 3244 | | |
3240 | 3245 | | |
| |||
0 commit comments