From 819e83d1385bc936db6a8ebcdec13f5d95a8be5e Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Mon, 10 Jun 2024 15:19:15 +0200 Subject: [PATCH] Add RT breakdown tests for nOS-V The nOS-V version required is now 2.3.0. --- test/rt/nosv/CMakeLists.txt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/test/rt/nosv/CMakeLists.txt b/test/rt/nosv/CMakeLists.txt index c974187..8cb9be5 100644 --- a/test/rt/nosv/CMakeLists.txt +++ b/test/rt/nosv/CMakeLists.txt @@ -12,9 +12,9 @@ if(NOT NOSV_FOUND) return() endif() -# Needed for nesting nosv_init/nosv_shutdown -if("${NOSV_VERSION}" VERSION_LESS "2.1.2") - message(FATAL_ERROR "nOS-V version ${NOSV_VERSION} too old, required at least 2.1.2") +# Needed for breakdown +if("${NOSV_VERSION}" VERSION_LESS "2.3.0") + message(FATAL_ERROR "nOS-V version ${NOSV_VERSION} too old, required at least 2.3.0") endif() message(STATUS "Enabling nOS-V RT tests") @@ -51,3 +51,10 @@ nosv_test(several-tasks.c SORT NAME several-tasks-level-1 LEVEL 1) nosv_test(several-tasks.c SORT NAME several-tasks-level-2 LEVEL 2) nosv_test(several-tasks.c SORT NAME several-tasks-level-3 LEVEL 3) nosv_test(several-tasks.c SORT NAME several-tasks-level-4 LEVEL 4) + +# Same but with breakdown enabled +nosv_test(several-tasks.c SORT NAME several-tasks-breakdown-level-0 LEVEL 0 BREAKDOWN) +nosv_test(several-tasks.c SORT NAME several-tasks-breakdown-level-1 LEVEL 1 BREAKDOWN) +nosv_test(several-tasks.c SORT NAME several-tasks-breakdown-level-2 LEVEL 2 BREAKDOWN) +nosv_test(several-tasks.c SORT NAME several-tasks-breakdown-level-3 LEVEL 3 BREAKDOWN) +nosv_test(several-tasks.c SORT NAME several-tasks-breakdown-level-4 LEVEL 4 BREAKDOWN)