1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2019 ARM Limited
4 *
5 * Generic test wrapper for arm64 signal tests.
6 *
7 * Each test provides its own tde struct tdescr descriptor to link with
8 * this wrapper. Framework provides common helpers.
9 */
10#include <kselftest.h>
11
12#include "test_signals.h"
13#include "test_signals_utils.h"
14
15struct tdescr *current = &tde;
16
17int main(int argc, char *argv[])
18{
19	ksft_print_msg("%s :: %s\n", current->name, current->descr);
20	if (test_setup(current) && test_init(current)) {
21		test_run(current);
22		test_cleanup(current);
23	}
24	test_result(current);
25
26	return current->result;
27}
28