Enable logs when functest simulator is run 85/62185/1
authorVarma, Vikas (vv8305) <vv8305@att.com>
Thu, 23 Aug 2018 19:14:46 +0000 (15:14 -0400)
committerVarma, Vikas (vv8305) <vv8305@att.com>
Thu, 23 Aug 2018 19:18:29 +0000 (15:18 -0400)
Issue-ID: OPTFRA-321
Change-Id: I74c80c6b406cf25ba1802314a2872fe47b11b60e
Signed-off-by: Varma, Vikas (vv8305) <vv8305@att.com>
test/functest/scripts/start-simulators.sh

index 75209f6..b8b5719 100755 (executable)
@@ -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
 )