From 44795f01bc3c53875a759dd6043d25b237362fad Mon Sep 17 00:00:00 2001 From: "Varma, Vikas (vv8305)" Date: Thu, 23 Aug 2018 15:14:46 -0400 Subject: Enable logs when functest simulator is run Issue-ID: OPTFRA-321 Change-Id: I74c80c6b406cf25ba1802314a2872fe47b11b60e Signed-off-by: Varma, Vikas (vv8305) --- test/functest/scripts/start-simulators.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/functest/scripts/start-simulators.sh b/test/functest/scripts/start-simulators.sh index 75209f6..b8b5719 100755 --- a/test/functest/scripts/start-simulators.sh +++ b/test/functest/scripts/start-simulators.sh @@ -40,8 +40,9 @@ SIMULATORS_DIR=$FUNC_TEST_DIR/simulators ln -s $SIMULATORS_DIR/simulated-config config XPID=$(ps -x | grep "python oof_dependencies_simulators.py" | grep -v grep | awk '{print $1}') + echo "simulator pid " $XPID if [ -z "$XPID" ]; then - python oof_dependencies_simulators.py > simulator-logs 2>&1 & + python oof_dependencies_simulators.py & # > simulator-logs 2>&1 & sleep 20 fi ) -- cgit 1.2.3-korg