tests.h (f215054d749b17c56e014fdca2fcc592dac4529c) tests.h (69b352927885b17f03d3ee4ee38f580699af107a)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef TESTS_H
3#define TESTS_H
4
5#include <stdbool.h>
6
7#define TEST_ASSERT_VAL(text, cond) \
8do { \

--- 187 unchanged lines hidden (view full) ---

196#define DEFINE_WORKLOAD(work) \
197struct test_workload workload__##work = { \
198 .name = #work, \
199 .func = work, \
200}
201
202/* The list of test workloads */
203DECLARE_WORKLOAD(noploop);
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef TESTS_H
3#define TESTS_H
4
5#include <stdbool.h>
6
7#define TEST_ASSERT_VAL(text, cond) \
8do { \

--- 187 unchanged lines hidden (view full) ---

196#define DEFINE_WORKLOAD(work) \
197struct test_workload workload__##work = { \
198 .name = #work, \
199 .func = work, \
200}
201
202/* The list of test workloads */
203DECLARE_WORKLOAD(noploop);
204DECLARE_WORKLOAD(thloop);
204
205#endif /* TESTS_H */
205
206#endif /* TESTS_H */