diff options
| author | Sasha Levin <sashal@kernel.org> | 2026-10-14 16:01:40 -0400 |
|---|---|---|
| committer | Catalin Marinas <catalin.marinas@arm.com> | 2026-10-15 18:32:59 +0100 |
| commit | 7b3b147c4104f8211ad356a78cff9a2dcd966312 (patch) | |
| tree | 792ab654e0702300068808d0228eef20e440bee0 /tools/perf/scripts/python | |
| parent | 9f7af3cf5cc78f880e8d2349d66b46f1341e104c (diff) | |
kselftest/arm64: signal: copy each test binary only once
The signal tests are built in testcases/ and then copied to the output
directory. The copy rule lists every generated program as a target and
copies all of them in each recipe:
$(TEST_GEN_PROGS): $(PROGS)
cp $(PROGS) $(OUTPUT)/
In a parallel build make runs that recipe once for each program, so
several cp processes write the same destination files at the same time.
cp then fails with "cannot create regular file ...: File exists", which
fails the arm64 build even though every test compiled. A cross build of
the arm64 signal tests at -j8 hit this in all of 8 runs.
Use a static pattern rule so that each output depends on, and copies,
only its own binary.
Fixes: f96bf4340316 ("kselftest: arm64: mangle_pstate_invalid_compat_toggle and common utils")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
