Updated with scheduler
This commit is contained in:
23
run_test.sh
23
run_test.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user