-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathproject.yml
More file actions
72 lines (66 loc) · 1.57 KB
/
Copy pathproject.yml
File metadata and controls
72 lines (66 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# ================================================================
# Ceedling Project Configuration — l4s5_Anbo Unit Tests
#
# Runs kernel modules on the host (x86/x64) using Unity + CMock.
# Hardware-dependent code is mocked via CMock auto-generation.
#
# Usage: ceedling test:all
# ceedling test:anbo_rb
# ceedling clean
# ================================================================
:project:
:use_exceptions: FALSE
:use_test_preprocessor: TRUE
:build_root: build/test
:test_file_prefix: test_
# ---- Source / include paths ----
:paths:
:test:
- test/**
:source:
- anbo/kernel/src/**
:include:
- anbo/kernel/include/**
:support:
- test/support
# ---- Host compile-time defines ----
# Disable hardware-dependent features for host-based testing.
:defines:
:test:
- ANBO_CONF_WDT=0
- ANBO_CONF_IDLE_SLEEP=0
- ANBO_CONF_TRACE=0
- ANBO_CONF_POOL_BLOCK_COUNT=8
- ANBO_CONF_EVTQ_DEPTH=8
- ANBO_CONF_EBUS_MAX_TOPICS=8
- ANBO_CONF_MAX_TIMERS=8
- ANBO_CONF_MAX_TASKS=4
- ANBO_CONF_TICK_HZ=1000
# ---- CMock settings ----
:cmock:
:mock_prefix: mock_
:when_no_prototypes: :warn
:enforce_strict_ordering: TRUE
:plugins:
- :ignore
- :callback
:treat_as:
uint8: HEX8
uint16: HEX16
uint32: UINT32
int8: INT8
int16: INT16
int32: INT32
# ---- Compiler flags ----
:flags:
:test:
:compile:
:*:
- -Wall
- -Wextra
- -std=c99
# ---- Plugins ----
:plugins:
:enabled:
- stdout_pretty_tests_report
- module_generator