1335640Shselasky// SPDX-License-Identifier: GPL-2.0
2335640Shselasky/*
3356341Scy * KUnit 'Hooks' implementation.
4335640Shselasky *
5356341Scy * This file contains code / structures which should be built-in even when
6335640Shselasky * KUnit itself is built as a module.
7335640Shselasky *
8335640Shselasky * Copyright (C) 2022, Google LLC.
9335640Shselasky * Author: David Gow <davidgow@google.com>
10335640Shselasky */
11335640Shselasky
12335640Shselasky
13335640Shselasky#include <kunit/test-bug.h>
14335640Shselasky
15335640ShselaskyDEFINE_STATIC_KEY_FALSE(kunit_running);
16335640ShselaskyEXPORT_SYMBOL(kunit_running);
17335640Shselasky
18356341Scy/* Function pointers for hooks. */
19335640Shselaskystruct kunit_hooks_table kunit_hooks;
20335640ShselaskyEXPORT_SYMBOL(kunit_hooks);
21335640Shselasky
22335640Shselasky