Project fixes and correct MARTe style makefile and source structure

This commit is contained in:
Martino Ferrari
2026-03-03 15:15:52 +01:00
parent 631417ef10
commit e6102ba433
51 changed files with 3309 additions and 1865 deletions

View File

@@ -1,14 +1,16 @@
#!/bin/bash
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
export MARTe2_DIR=/home/martino/Projects/marte_debug/dependency/MARTe2
export TARGET=x86-linux
# Get the directory of this script
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
source $DIR/env.sh
echo "Cleaning up old instances..."
pkill -9 IntegrationTest
pkill -9 ValidationTest
pkill -9 SchedulerTest
pkill -9 main
sleep 2
pkill -9 IntegrationTests
pkill -9 UnitTests
sleep 1
echo "Starting MARTe2 Unit Tests..."
$DIR/Build/$TARGET/Test/UnitTests/UnitTests/UnitTests.ex
echo ""
echo "Starting MARTe2 Integration Tests..."
./Build/Test/Integration/ValidationTest
$DIR/Build/$TARGET/Test/Integration/Integration/IntegrationTests.ex