1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * KUnit API to save and access test attributes 4 * 5 * Copyright (C) 2023, Google LLC. 6 * Author: Rae Moar <rmoar@google.com> 7 */ 8 9 #ifndef _KUNIT_ATTRIBUTES_H 10 #define _KUNIT_ATTRIBUTES_H 11 12 /* 13 * Print all test attributes for a test case or suite. 14 * Output format for test cases: "# <test_name>.<attribute>: <value>" 15 * Output format for test suites: "# <attribute>: <value>" 16 */ 17 void kunit_print_attr(void *test_or_suite, bool is_test, unsigned int test_level); 18 19 #endif /* _KUNIT_ATTRIBUTES_H */ 20