Skip to content

Commit 3975415

Browse files
roxellbhcopeland
authored andcommitted
kselftest: use make -i for the install step
The install target depends on all. Sub-makes rebuild and fail again even with -o all. Use make -i to ignore errors so tests that compiled get installed. Run make all first without -i so the nonfatal path can detect the failure and report WARNING. Suggested-by: Ben Copeland <ben.copeland@linaro.org> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
1 parent 2fb8ac6 commit 3975415

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tuxmake/target/kselftest-bpf.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description = "Kernel BPF selftest (kselftest)"
77
dependencies = kernel headers
88
nonfatal = true
99
commands = {make} -C tools/testing/selftests/ all
10-
&& {make} -o all -C tools/testing/selftests/ install
10+
&& {make} -i -C tools/testing/selftests/ install
1111
&& {tar_caf} {build_dir}/kselftest-bpf.tar{z_ext} -C {build_dir}/kselftest_bpf_install .
1212

1313
[makevars]

tuxmake/target/kselftest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dependencies = config
44
runs_after = kselftest-merge
55
nonfatal = true
66
commands = {make} -C tools/testing/selftests all
7-
&& {make} -o all -C tools/testing/selftests install
7+
&& {make} -i -C tools/testing/selftests install
88
&& {tar_caf} {build_dir}/kselftest.tar{z_ext} -C {build_dir}/kselftest_install .
99

1010
[makevars]

0 commit comments

Comments
 (0)