summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWonki Kim <wonki_.kim@samsung.com>2018-12-27 09:48:05 +0200
committerDaniel Zaoui <daniel.zaoui@yahoo.com>2018-12-27 09:48:23 +0200
commit4fc3b5f413611fb95f878f2bd060caed77afe2bc (patch)
treeecae6f8379ce74960aab59876f3daebf5d893e60
parentf991aecfa6b83cdda00276678702dbfda3d2590f (diff)
Add a flag for enable debug mode of ea_spy_check.sh
Summary: if there is anything in a environment variable ${__DEBUG__}, '-xe' will be set for bash mode to enhance debugging Signed-off-by: Wonki Kim <wonki_.kim@samsung.com> Reviewers: JackDanielZ, bowonryu, jsuya Reviewed By: JackDanielZ Differential Revision: https://phab.enlightenment.org/D7513
-rwxr-xr-xsrc/bin/ea_spy_check.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/ea_spy_check.sh b/src/bin/ea_spy_check.sh
index b9d9216..1205f33 100755
--- a/src/bin/ea_spy_check.sh
+++ b/src/bin/ea_spy_check.sh
@@ -1,6 +1,8 @@
1#!/bin/bash 1#!/bin/bash
2#$1: specific test to check 2#$1: specific test to check
3 3
4test -z ${__DEBUG__} || set -xe
5
4tmp_path="`dirname $0`"/../.. 6tmp_path="`dirname $0`"/../..
5ea_gen_path=`realpath $tmp_path` 7ea_gen_path=`realpath $tmp_path`
6config_file=$ea_gen_path/local_config.sh 8config_file=$ea_gen_path/local_config.sh