Updated with scheduler

This commit is contained in:
Martino Ferrari
2026-02-21 20:20:08 +01:00
parent 7cc4b81f05
commit 955eb02924
15 changed files with 664 additions and 102 deletions

View File

@@ -1,21 +1,14 @@
#!/bin/bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
source $DIR/env.sh
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
export MARTe2_DIR=/home/martino/Projects/marte_debug/dependency/MARTe2
export TARGET=x86-linux
MARTE_APP=$MARTe2_DIR/Build/$TARGET/App/MARTeApp.ex
echo "Cleaning up old instances..."
pkill -9 IntegrationTest
pkill -9 ValidationTest
pkill -9 SchedulerTest
pkill -9 main
sleep 2
# Build paths for all components
LIBS=$DIR/Build
LIBS=$LIBS:$MARTe2_DIR/Build/$TARGET/Core
LIBS=$LIBS:$MARTe2_Components_DIR/Build/$TARGET/Components/DataSources/LinuxTimer
LIBS=$LIBS:$MARTe2_Components_DIR/Build/$TARGET/Components/DataSources/LoggerDataSource
LIBS=$LIBS:$MARTe2_Components_DIR/Build/$TARGET/Components/GAMs/IOGAM
export LD_LIBRARY_PATH=$LIBS:$LD_LIBRARY_PATH
# ./Build/Test/Integration/IntegrationTest -f Test/Configurations/debug_test.cfg -l RealTimeLoader -s State1
$MARTE_APP -f $DIR/Test/Configurations/debug_test.cfg -l RealTimeLoader -s State1
echo "Starting MARTe2 Integration Tests..."
./Build/Test/Integration/ValidationTest