Files
marte-debug/run_test.sh

17 lines
444 B
Bash
Executable File

#!/bin/bash
# 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 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..."
$DIR/Build/$TARGET/Test/Integration/Integration/IntegrationTests.ex