162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * KUnit 'Hooks' implementation. 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * This file contains code / structures which should be built-in even when 662306a36Sopenharmony_ci * KUnit itself is built as a module. 762306a36Sopenharmony_ci * 862306a36Sopenharmony_ci * Copyright (C) 2022, Google LLC. 962306a36Sopenharmony_ci * Author: David Gow <davidgow@google.com> 1062306a36Sopenharmony_ci */ 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci#include <kunit/test-bug.h> 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ciDEFINE_STATIC_KEY_FALSE(kunit_running); 1662306a36Sopenharmony_ciEXPORT_SYMBOL(kunit_running); 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci/* Function pointers for hooks. */ 1962306a36Sopenharmony_cistruct kunit_hooks_table kunit_hooks; 2062306a36Sopenharmony_ciEXPORT_SYMBOL(kunit_hooks); 2162306a36Sopenharmony_ci 22