Project fixes and correct MARTe style makefile and source structure
This commit is contained in:
20
run_test.sh
20
run_test.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user