blob: 06ff8cd4c60ad2d1b4417b20beeedee447f4c7a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
#!/bin/bash
###########################################################################
# @licence app begin@
# SPDX-License-Identifier: MPL-2.0
#
# Component Name: EnhancedPositionService
# Author: Marco Residori
#
# Copyright (C) 2015, XS Embedded GmbH
#
# License:
# 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/.
#
# @licence end@
###########################################################################
TOP_DIR=../../../..
LOGS_DIR=$TOP_DIR/log-replayer/logs
LOGREPLAYER_DIR=$TOP_DIR/build/log-replayer/src
ENHPOS_DIR=$TOP_DIR/build/enhanced-position-service/franca/src
ENHPOS_RES=$TOP_DIR/enhanced-position-service/franca/res
echo "Test started"
$LOGREPLAYER_DIR/log-replayer $LOGS_DIR/geneve-cologny.log > /dev/null 2>&1 &
COMMONAPI_DEFAULT_CONFIG=$ENHPOS_RES/commonapi4someip.ini \
VSOMEIP_CONFIGURATION_FILE=$ENHPOS_RES/EnhancedPositionService.json \
VSOMEIP_APPLICATION_NAME=EnhancedPositionService \
$ENHPOS_DIR/EnhancedPositionServiceSomeIP &
sleep 1
COMMONAPI_DEFAULT_CONFIG=$ENHPOS_RES/commonapi4someip.ini \
VSOMEIP_CONFIGURATION_FILE=$ENHPOS_RES/EnhancedPositionService.json \
VSOMEIP_APPLICATION_NAME=EnhancedPositionClient \
$ENHPOS_DIR/EnhancedPositionClientSomeIP &
sleep 10
echo "Test finished"
killall EnhancedPositionClientSomeIP
killall EnhancedPositionServiceSomeIP
killall log-replayer
|