diff options
author | Varma, Vikas (vv8305) <vv8305@att.com> | 2018-08-23 15:14:46 -0400 |
---|---|---|
committer | Varma, Vikas (vv8305) <vv8305@att.com> | 2018-08-23 15:18:29 -0400 |
commit | 44795f01bc3c53875a759dd6043d25b237362fad (patch) | |
tree | 3e9af1dd0120cde9f2c33b44cbbec0f1cd668fc3 /test/functest | |
parent | 902698ef5f07d9cbb2c46b3fb28c4d50da39edda (diff) |
Enable logs when functest simulator is run
Issue-ID: OPTFRA-321
Change-Id: I74c80c6b406cf25ba1802314a2872fe47b11b60e
Signed-off-by: Varma, Vikas (vv8305) <vv8305@att.com>
Diffstat (limited to 'test/functest')
-rwxr-xr-x | test/functest/scripts/start-simulators.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 ) |