Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
test_common.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2011-2014 Wind River Systems, Inc.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#define MAX_TESTS 500
8
9/*
10 * Test Thread Parameters
11 */
12#define THREAD_STACK_SIZE (1024 + CONFIG_TEST_EXTRA_STACKSIZE)
13
14#define THREAD_HIGH_PRIORITY 5
15#define THREAD_LOW_PRIORITY 10
16
17#if defined(CONFIG_X86)
18#define THREAD_FP_FLAGS (K_FP_REGS | K_SSE_REGS)
19#else
20#define THREAD_FP_FLAGS (K_FP_REGS)
21#endif