Initial commit
This commit is contained in:
21
run_test.sh
Executable file
21
run_test.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/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
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user