![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /proc/self/root/usr/src/kernels/4.18.0-553.50.1.el8_10.x86_64/include/kunit/ |
/* SPDX-License-Identifier: GPL-2.0 */ /* * KUnit API allowing dynamic analysis tools to interact with KUnit tests * * Copyright (C) 2020, Google LLC. * Author: Uriel Guajardo <[email protected]> */ #ifndef _KUNIT_TEST_BUG_H #define _KUNIT_TEST_BUG_H #define kunit_fail_current_test(fmt, ...) \ __kunit_fail_current_test(__FILE__, __LINE__, fmt, ##__VA_ARGS__) #if IS_BUILTIN(CONFIG_KUNIT) extern __printf(3, 4) void __kunit_fail_current_test(const char *file, int line, const char *fmt, ...); #else static inline __printf(3, 4) void __kunit_fail_current_test(const char *file, int line, const char *fmt, ...) { } #endif #endif /* _KUNIT_TEST_BUG_H */