1 // SPDX-License-Identifier: GPL-2.0
3 * KUnit 'Hooks' implementation.
5 * This file contains code / structures which should be built-in even when
6 * KUnit itself is built as a module.
8 * Copyright (C) 2022, Google LLC.
9 * Author: David Gow <davidgow@google.com>
13 #include <kunit/test-bug.h>
15 DEFINE_STATIC_KEY_FALSE(kunit_running);
16 EXPORT_SYMBOL(kunit_running);
18 /* Function pointers for hooks. */
19 struct kunit_hooks_table kunit_hooks;
20 EXPORT_SYMBOL(kunit_hooks);