summaryrefslogtreecommitdiff
path: root/test/application_tests/application_test_starter.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/application_tests/application_test_starter.sh')
-rwxr-xr-xtest/application_tests/application_test_starter.sh31
1 files changed, 30 insertions, 1 deletions
diff --git a/test/application_tests/application_test_starter.sh b/test/application_tests/application_test_starter.sh
index 2968393..a72c6c7 100755
--- a/test/application_tests/application_test_starter.sh
+++ b/test/application_tests/application_test_starter.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright (C) 2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
+# Copyright (C) 2015-2016 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -22,6 +22,35 @@ then
((FAIL+=1))
fi
+cat <<End-of-message
+*******************************************************************************
+*******************************************************************************
+** Now running same tests with vsomeipd
+*******************************************************************************
+*******************************************************************************
+End-of-message
+export VSOMEIP_CONFIGURATION=application_test_no_dispatch_threads_daemon.json
+../daemon/./vsomeipd &
+DAEMON_PID=$!
+./application_test
+if [ $? -ne 0 ]
+then
+ ((FAIL+=1))
+fi
+
+kill $DAEMON_PID
+
+export VSOMEIP_CONFIGURATION=application_test_daemon.json
+../daemon/./vsomeipd &
+DAEMON_PID=$!
+./application_test
+if [ $? -ne 0 ]
+then
+ ((FAIL+=1))
+fi
+
+kill $DAEMON_PID
+
# Check if both exited successfully
if [ $FAIL -eq 0 ]
then