mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-24 03:24:55 +08:00
850507f30c
Some specific tests in powerpc can take longer than the default 45 seconds that added in commit852c8cbf34
("selftests/kselftest/runner.sh: Add 45 second timeout per test") to run, the following test result was collected across 2 Power8 nodes and 1 Power9 node in our pool: powerpc/benchmarks/futex_bench - 52s powerpc/dscr/dscr_sysfs_test - 116s powerpc/signal/signal_fuzzer - 88s powerpc/tm/tm_unavailable_test - 168s powerpc/tm/tm-poison - 240s Thus they will fail with TIMEOUT error. Disable the timeout setting for these sub-tests to allow them finish properly. https://bugs.launchpad.net/bugs/1864642 Fixes:852c8cbf34
("selftests/kselftest/runner.sh: Add 45 second timeout per test") Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200318060004.10685-1-po-hsu.lin@canonical.com
21 lines
517 B
Makefile
21 lines
517 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
TEST_GEN_PROGS := gettimeofday context_switch fork mmap_bench futex_bench null_syscall
|
|
TEST_GEN_FILES := exec_target
|
|
|
|
TEST_FILES := settings
|
|
|
|
CFLAGS += -O2
|
|
|
|
top_srcdir = ../../../../..
|
|
include ../../lib.mk
|
|
|
|
$(TEST_GEN_PROGS): ../harness.c
|
|
|
|
$(OUTPUT)/context_switch: ../utils.c
|
|
$(OUTPUT)/context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec
|
|
$(OUTPUT)/context_switch: LDLIBS += -lpthread
|
|
|
|
$(OUTPUT)/fork: LDLIBS += -lpthread
|
|
|
|
$(OUTPUT)/exec_target: CFLAGS += -static -nostartfiles
|