-
Notifications
You must be signed in to change notification settings - Fork 2
/
build-unit-test.sh
executable file
·41 lines (38 loc) · 1.08 KB
/
build-unit-test.sh
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
#CC=arm-elf-gcc
CC=$1
#Defaults to 'gcc' if no compiler is given
if [ "$CC" = "" ]; then
CC=gcc
fi
$CC -I . -lpthread -o halo_udp_unit_test mpers/DynamicVitalsMsg.c \
mpers/HaloMsgHelperFunctions.c \
General/genericStaticArrayBuffer.c \
UdpLib/halo_udp_tx_mgmt.c \
UdpLib/tx_mgmt_buffer.c \
UdpLib/halo_udp_stats.c \
UdpLib/halo_udp_comm.c \
UdpLib/tx_buffer_static.c \
UdpLib/crc16.c \
UdpLib/unit_test/halo_udp_tests.c \
UdpLib/unit_test/test_impl.c \
UdpLib/unit_test/test_impl2.c \
UdpLib/unit_test/test_mode.c \
UdpLibImpl/udp_lib_test_impl.c \
UdpLib/unit_test/main.c \
Test/tests.c \
UdpLib/unit_test/test_msg_queue.c
$CC -I . -lpthread -o udp_unit_test mpers/DynamicVitalsMsg.c \
mpers/HaloMsgHelperFunctions.c \
General/genericStaticArrayBuffer.c \
UdpLib/halo_udp_tx_mgmt.c \
UdpLib/tx_mgmt_buffer.c \
UdpLib/halo_udp_stats.c \
UdpLib/halo_udp_comm.c \
UdpLib/tx_buffer_static.c \
UdpLib/crc16.c \
UdpLibImpl/unit_test/main.c \
UdpLibImpl/unit_test/test_impl.c \
UdpLibImpl/unit_test/test_mode.c \
UdpLibImpl/unit_test/udp_tests.c \
UdpLibImpl/udp_lib_posix_socket_impl.c \
Test/tests.c