Move ./scripts --> FreeRTOS/Test/CMock/scripts (#298)

This commit is contained in:
David Chalco 2020-09-24 17:17:34 -07:00 committed by GitHub
parent 190c9e780d
commit 7bcc5b48b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 0 deletions

View 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}