Skip to content

Commit a3413d2

Browse files
kar-rahul-awsmoninom1Skptak
authored
Fix FreeRTOS+TCP unit tests for latest Kernel V10.6.1 (#1015)
* Fix unit tests for latest FreeRTOS-Kernel V10.6.1 * Update the FreeRTOS-Kernel submodule to V10.6.1 * Update the Coverage-Cop action to use new parameter name --------- Co-authored-by: Monika Singh <[email protected]> Co-authored-by: Soren Ptak <[email protected]>
1 parent 34148c3 commit a3413d2

File tree

51 files changed

+95
-61
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+95
-61
lines changed

.github/workflows/ci.yml

+23-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Check Coverage
3838
uses: FreeRTOS/CI-CD-Github-Actions/coverage-cop@main
3939
with:
40-
path: ./test/unit-test/build/coverage.info
40+
coverage-file: ./test/unit-test/build/coverage.info
4141

4242
spell-check:
4343
runs-on: ubuntu-latest
@@ -86,6 +86,27 @@ jobs:
8686
with:
8787
path: ./
8888

89+
verify-manifest:
90+
runs-on: ubuntu-latest
91+
steps:
92+
- uses: actions/checkout@v3
93+
with:
94+
submodules: true
95+
fetch-depth: 0
96+
97+
# At time of writing the gitmodules are set not to pull
98+
# Even when using fetch submodules. Need to run this command
99+
# To force it to grab them.
100+
- name: Perform Recursive Clone
101+
shell: bash
102+
run: git submodule update --checkout --init --recursive
103+
104+
- name: Run manifest verifier
105+
uses: FreeRTOS/CI-CD-GitHub-Actions/manifest-verifier@v2
106+
with:
107+
path: ./
108+
fail-on-incorrect-version: true
109+
89110
build-checks:
90111
runs-on: ubuntu-latest
91112
steps:
@@ -192,6 +213,7 @@ jobs:
192213
run: |
193214
git-secrets --register-aws
194215
git-secrets --scan
216+
195217
proof_ci:
196218
runs-on: cbmc_ubuntu-latest_16-core
197219
steps:

lexicon.txt

+2
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ chextochar
134134
cli
135135
clk
136136
cmd
137+
cmock
137138
co
138139
col
139140
com
@@ -2073,6 +2074,7 @@ xtaskcreate
20732074
xtaskcreatestatic
20742075
xtaskgenericnotify
20752076
xtaskgetcurrenttaskhandle
2077+
xtaskgetmpusettings
20762078
xtaskgettickcount
20772079
xtaskhandle
20782080
xtasknotifygive

manifest.yml

+12-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
1-
name : "FreeRTOS-Plus-TCP"
1+
name: "FreeRTOS-Plus-TCP"
22
version: "V4.0.0"
3-
description: "Thread safe FreeRTOS TCP/IP stack working on top of the FreeRTOS-Kernel to implement the TCP/IP protocol. Suitable for microcontrollers."
3+
description:
4+
"Thread safe FreeRTOS TCP/IP stack working on top of the FreeRTOS-Kernel to
5+
implement the TCP/IP protocol. Suitable for microcontrollers."
46
license: "MIT"
57
dependencies:
68
- name: "FreeRTOS-Kernel"
7-
version: "V10.6.0"
9+
version: "V10.6.1"
810
license: "MIT"
911
repository:
1012
type: "git"
1113
url: "https://github.com/FreeRTOS/FreeRTOS-Kernel.git"
1214
path: "test/FreeRTOS-Kernel"
1315
branch: "main"
16+
17+
- name: "CMock"
18+
version: "afa2949"
19+
repository:
20+
type: "git"
21+
url: " https://github.com/ThrowTheSwitch/CMock.git"
22+
path: "tools/CMock"

test/FreeRTOS-Kernel

Submodule FreeRTOS-Kernel updated 676 files

test/unit-test/ConfigFiles/portmacro.h

+10
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,16 @@
113113
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void * pvParameters )
114114
/*-----------------------------------------------------------*/
115115

116+
/** We need to define it here because CMock does not recognize the
117+
* #if ( portUSING_MPU_WRAPPERS == 1 ) guard around xTaskGetMPUSettings
118+
* and then complains about the missing xMPU_SETTINGS type in the
119+
* generated mocks. */
120+
typedef struct MPU_SETTINGS
121+
{
122+
uint32_t ulDummy;
123+
} xMPU_SETTINGS;
124+
125+
116126
/*
117127
* Tasks run in their own pthreads and context switches between them
118128
* are always a full memory barrier. ISRs are emulated as signals

test/unit-test/FreeRTOS_ARP/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ list(APPEND mock_include_list
2727
.
2828
${TCP_INCLUDE_DIRS}
2929
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
30-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3130
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
31+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3232
)
3333

3434
#list the definitions of your mocks to control what to be included

test/unit-test/FreeRTOS_BitConfig/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ list(APPEND mock_include_list
2323
.
2424
${TCP_INCLUDE_DIRS}
2525
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
26-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
2726
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
27+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
2828
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
2929
)
3030

test/unit-test/FreeRTOS_DHCPv6/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ list(APPEND mock_include_list
3232
.
3333
${TCP_INCLUDE_DIRS}
3434
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
35-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3635
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
36+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3737
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
3838
)
3939

test/unit-test/FreeRTOS_ICMP/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ list(APPEND mock_include_list
3737
.
3838
${TCP_INCLUDE_DIRS}
3939
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
40-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
4140
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
41+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
4242
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
4343
)
4444

test/unit-test/FreeRTOS_ICMP_wo_assert/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ list(APPEND mock_include_list
3636
.
3737
${TCP_INCLUDE_DIRS}
3838
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
39-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
4039
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
40+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
4141
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
4242
)
4343

test/unit-test/FreeRTOS_IP/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ list(APPEND mock_include_list
4444
${TCP_INCLUDE_DIRS}
4545
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
4646
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
47-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
4847
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
48+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
4949
)
5050

5151
set(mock_define_list "")

test/unit-test/FreeRTOS_IP_DiffConfig/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ list(APPEND mock_include_list
4040
.
4141
${TCP_INCLUDE_DIRS}
4242
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
43-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
4443
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
44+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
4545
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
4646
)
4747

test/unit-test/FreeRTOS_IP_DiffConfig1/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ list(APPEND mock_include_list
4242
${TCP_INCLUDE_DIRS}
4343
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
4444
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
45-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
4645
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
46+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
4747
)
4848

4949
set(mock_define_list "")

test/unit-test/FreeRTOS_IP_DiffConfig2/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ list(APPEND mock_include_list
4141
.
4242
${TCP_INCLUDE_DIRS}
4343
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
44-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
4544
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
45+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
4646
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
4747
)
4848

test/unit-test/FreeRTOS_IP_DiffConfig3/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ list(APPEND mock_include_list
4141
.
4242
${TCP_INCLUDE_DIRS}
4343
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
44-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
4544
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
45+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
4646
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
4747
)
4848

test/unit-test/FreeRTOS_IP_Timers/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ list(APPEND mock_include_list
3030
.
3131
${TCP_INCLUDE_DIRS}
3232
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
33-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3433
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
34+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3535
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
3636
)
3737

test/unit-test/FreeRTOS_IP_Utils/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ list(APPEND mock_include_list
3434
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
3535
${TCP_INCLUDE_DIRS}
3636
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
37-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3837
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
38+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3939
)
4040

4141
set(mock_define_list "")

test/unit-test/FreeRTOS_IP_Utils_DiffConfig/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ list(APPEND mock_include_list
3333
.
3434
${TCP_INCLUDE_DIRS}
3535
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
36-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3736
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
37+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3838
)
3939

4040
set(mock_define_list "")

test/unit-test/FreeRTOS_IPv4/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ list(APPEND mock_include_list
3030
${TCP_INCLUDE_DIRS}
3131
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
3232
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
33-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3433
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
34+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3535
)
3636

3737
set(mock_define_list "")

test/unit-test/FreeRTOS_IPv4_DiffConfig/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ list(APPEND mock_include_list
4141
${TCP_INCLUDE_DIRS}
4242
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
4343
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
44-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
4544
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
45+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
4646
)
4747

4848
set(mock_define_list "")

test/unit-test/FreeRTOS_IPv4_DiffConfig1/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ list(APPEND mock_include_list
4141
.
4242
${TCP_INCLUDE_DIRS}
4343
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
44-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
4544
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
45+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
4646
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
4747
)
4848

test/unit-test/FreeRTOS_IPv4_Sockets/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ list(APPEND mock_include_list
1919
.
2020
${TCP_INCLUDE_DIRS}
2121
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
22+
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
2223
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
2324
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
24-
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
2525
)
2626

2727
set(mock_define_list "")

test/unit-test/FreeRTOS_IPv4_Utils/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ list(APPEND mock_include_list
2222
.
2323
${TCP_INCLUDE_DIRS}
2424
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
25-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
2625
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
26+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
2727
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
2828
)
2929

test/unit-test/FreeRTOS_IPv6/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ list(APPEND mock_include_list
2424
.
2525
${TCP_INCLUDE_DIRS}
2626
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
27-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
2827
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
28+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
2929
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
3030
)
3131

test/unit-test/FreeRTOS_IPv6_ConfigDriverCheckChecksum/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ list(APPEND mock_include_list
2424
.
2525
${TCP_INCLUDE_DIRS}
2626
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
27+
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
2728
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
2829
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
29-
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
3030
)
3131

3232
set(mock_define_list "")

test/unit-test/FreeRTOS_IPv6_Utils/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ list(APPEND mock_include_list
2727
.
2828
${TCP_INCLUDE_DIRS}
2929
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
30-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3130
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
31+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3232
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
3333
)
3434

test/unit-test/FreeRTOS_ND/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ list(APPEND mock_include_list
3333
.
3434
${TCP_INCLUDE_DIRS}
3535
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
36-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3736
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
37+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3838
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
3939
)
4040

test/unit-test/FreeRTOS_RA/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ list(APPEND mock_include_list
2828
.
2929
${TCP_INCLUDE_DIRS}
3030
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
31-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3231
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
32+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3333
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
3434
)
3535

test/unit-test/FreeRTOS_Routing/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ list(APPEND mock_include_list
3131
.
3232
${TCP_INCLUDE_DIRS}
3333
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
34-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3534
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
35+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3636
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
3737
)
3838

test/unit-test/FreeRTOS_Routing_ConfigCompatibleWithSingle/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ list(APPEND mock_include_list
3333
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
3434
${TCP_INCLUDE_DIRS}
3535
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
36-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3736
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
37+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3838
)
3939

4040
set(mock_define_list "")

test/unit-test/FreeRTOS_Routing_ConfigV4Only/ut.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ list(APPEND mock_include_list
3232
.
3333
${TCP_INCLUDE_DIRS}
3434
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
35-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3635
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
36+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3737
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
3838
)
3939

test/unit-test/FreeRTOS_Sockets/ut.cmake

+1-3
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ list(APPEND mock_include_list
3232
.
3333
${TCP_INCLUDE_DIRS}
3434
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
35-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3635
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
36+
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
3737
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
3838
)
3939

@@ -71,8 +71,6 @@ list(APPEND test_include_directories
7171
.
7272
${CMOCK_DIR}/vendor/unity/src
7373
${TCP_INCLUDE_DIRS}
74-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
75-
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
7674
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
7775
)
7876

0 commit comments

Comments
 (0)