aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/arm64/signal/test_signals_utils.h
diff options
context:
space:
mode:
authorCristian Marussi <cristian.marussi@arm.com>2019-10-25 18:57:10 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2019-11-08 11:10:39 +0000
commit837387a2cbc719667822856beabac127921a36c4 (patch)
treecbdebd0ba4f4e8ee7e70f9685b72844e3a3f889d /tools/testing/selftests/arm64/signal/test_signals_utils.h
parentkselftest: arm64: mangle_pstate_invalid_mode_el[123][ht] (diff)
downloadlinux-dev-837387a2cbc719667822856beabac127921a36c4.tar.xz
linux-dev-837387a2cbc719667822856beabac127921a36c4.zip
kselftest: arm64: extend test_init functionalities
Extend signal testing framework to allow the definition of a custom per test initialization function to be run at the end of the common test_init after test setup phase has completed and before test-run routine. This custom per-test initialization function also enables the test writer to decide on its own when forcibly skip the test itself using standard KSFT mechanism. Reviewed-by: Dave Martin <Dave.Martin@arm.com> Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to '')
-rw-r--r--tools/testing/selftests/arm64/signal/test_signals_utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/arm64/signal/test_signals_utils.h b/tools/testing/selftests/arm64/signal/test_signals_utils.h
index 47a7592b7c53..5e3a2b7aaa8b 100644
--- a/tools/testing/selftests/arm64/signal/test_signals_utils.h
+++ b/tools/testing/selftests/arm64/signal/test_signals_utils.h
@@ -6,6 +6,7 @@
#include "test_signals.h"
+int test_init(struct tdescr *td);
int test_setup(struct tdescr *td);
void test_cleanup(struct tdescr *td);
int test_run(struct tdescr *td);