mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-19 11:17:43 -04:00
Inititial stub for cmock tests (#297)
This commit is contained in:
parent
1fc1bd4321
commit
190c9e780d
13 changed files with 907 additions and 0 deletions
9
scripts/test-run.sh
Executable file
9
scripts/test-run.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "Running tests..."
|
||||
SOURCE_DIR=FreeRTOS/Test/CMock
|
||||
BUILD_DIR=FreeRTOS/Test/CMock/build
|
||||
cmake -DBUILD_CLONE_SUBMODULES=0 -S ${SOURCE_DIR} -B ${BUILD_DIR} && make -C ${BUILD_DIR} && ${BUILD_DIR}/bin/tests/queue_utest
|
||||
TEST_RESULT=$?
|
||||
echo "Done"
|
||||
exit ${TEST_RESULT}
|
Loading…
Add table
Add a link
Reference in a new issue