From 715c07b06aa3462ceeef38b777e8526d3bffe472 Mon Sep 17 00:00:00 2001 From: Kristofer Jonsson Date: Thu, 25 Feb 2021 09:49:34 +0100 Subject: Adding CTest script Adding script to run CTest on the Corstone-300 FVP. The script will detect which version of the FVP that is used and pass the correct command line arguments. Updating README with instructions how to run tests, either using CTest or calling the FVP directly. Update FreeRTOS example to exit with the status of the inference. Minor adjustments are needed to the output vectors. Change-Id: I8a1a740b0dec2ce35d95e5c5d91f4b57a2c8e1fa --- applications/freertos/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/freertos/main.cpp') diff --git a/applications/freertos/main.cpp b/applications/freertos/main.cpp index 235936e..4e58646 100644 --- a/applications/freertos/main.cpp +++ b/applications/freertos/main.cpp @@ -143,7 +143,7 @@ void inferenceJobTask(void *pvParameters) { xQueueReceive(senderQueue, &j, portMAX_DELAY); printf("Received inference job response. status=%u\n", j->status); - exit(0); + exit(j->status); } } // namespace -- cgit v1.2.1