File tree Expand file tree Collapse file tree 2 files changed +2
-37
lines changed
Runner/suites/Kernel/FunctionalArea/baseport Expand file tree Collapse file tree 2 files changed +2
-37
lines changed Original file line number Diff line number Diff line change 55# Import test suite definitions
66. $( pwd) /init_env
77TESTNAME=" IPA"
8- # import test functions library
9- log () {
10- local level=" $1 "
11- shift
12- # echo "$(date '+%Y-%m-%d %H:%M:%S') - $message" | tee -a /var/test_framework.log
13- echo " [$level ] $( /bin/date ' +%Y-%m-%d %H:%M:%S' ) - $* " | /usr/bin/tee -a /var/test_output.log
14- }
15- # Find test case path by name
16- find_test_case_by_name () {
17- local test_name=" $1 "
18- find /var/Runner/suites -type d -name " $test_name " 2> /dev/null
19- }
20- # Logging levels
21- log_info () { log " INFO" " $@ " ; }
22- log_pass () { log " PASS" " $@ " ; }
23- log_fail () { log " FAIL" " $@ " ; }
24- log_error () { log " ERROR" " $@ " ; }
25-
8+ . " $TOOLS /functestlib.sh"
269test_path=$( find_test_case_by_name " $TESTNAME " )
2710log_info " -----------------------------------------------------------------------------------------"
2811log_info " -------------------Starting $TESTNAME Testcase----------------------------"
Original file line number Diff line number Diff line change 55# Import test suite definitions
66. $( pwd) /init_env
77TESTNAME=" RMNET"
8-
9- # import test functions library
10- log () {
11- local level=" $1 "
12- shift
13- # echo "$(date '+%Y-%m-%d %H:%M:%S') - $message" | tee -a /var/test_framework.log
14- echo " [$level ] $( /bin/date ' +%Y-%m-%d %H:%M:%S' ) - $* " | /usr/bin/tee -a /var/test_output.log
15- }
16- # Find test case path by name
17- find_test_case_by_name () {
18- local test_name=" $1 "
19- find /var/Runner/suites -type d -name " $test_name " 2> /dev/null
20- }
21- # Logging levels
22- log_info () { log " INFO" " $@ " ; }
23- log_pass () { log " PASS" " $@ " ; }
24- log_fail () { log " FAIL" " $@ " ; }
25- log_error () { log " ERROR" " $@ " ; }
26-
8+ . " $TOOLS /functestlib.sh"
279test_path=$( find_test_case_by_name " $TESTNAME " )
2810log_info " -----------------------------------------------------------------------------------------"
2911log_info " -------------------Starting $TESTNAME Testcase----------------------------"
You can’t perform that action at this time.
0 commit comments