Skip to content

Commit 83933ce

Browse files
committed
Removed unwanted functions from testcases
Signed-off-by: Vamsee Narapareddi <[email protected]>
1 parent 5c24a4f commit 83933ce

File tree

2 files changed

+0
-35
lines changed
  • Runner/suites/Kernel/FunctionalArea/baseport

2 files changed

+0
-35
lines changed

Runner/suites/Kernel/FunctionalArea/baseport/IPA/run.sh

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,6 @@
22
# Import test suite definitions
33
. $(pwd)/init_env
44
TESTNAME="IPA"
5-
#import test functions library
6-
log() {
7-
local level="$1"
8-
shift
9-
# echo "$(date '+%Y-%m-%d %H:%M:%S') - $message" | tee -a /var/test_framework.log
10-
echo "[$level] $(/bin/date '+%Y-%m-%d %H:%M:%S') - $*" | /usr/bin/tee -a /var/test_output.log
11-
}
12-
# Find test case path by name
13-
find_test_case_by_name() {
14-
local test_name="$1"
15-
find /var/Runner/suites -type d -name "$test_name" 2>/dev/null
16-
}
17-
# Logging levels
18-
log_info() { log "INFO" "$@"; }
19-
log_pass() { log "PASS" "$@"; }
20-
log_fail() { log "FAIL" "$@"; }
21-
log_error() { log "ERROR" "$@"; }
225

236
test_path=$(find_test_case_by_name "$TESTNAME")
247
log_info "-----------------------------------------------------------------------------------------"

Runner/suites/Kernel/FunctionalArea/baseport/RMNET/run.sh

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,6 @@
33
. $(pwd)/init_env
44
TESTNAME="RMNET"
55

6-
#import test functions library
7-
log() {
8-
local level="$1"
9-
shift
10-
# echo "$(date '+%Y-%m-%d %H:%M:%S') - $message" | tee -a /var/test_framework.log
11-
echo "[$level] $(/bin/date '+%Y-%m-%d %H:%M:%S') - $*" | /usr/bin/tee -a /var/test_output.log
12-
}
13-
# Find test case path by name
14-
find_test_case_by_name() {
15-
local test_name="$1"
16-
find /var/Runner/suites -type d -name "$test_name" 2>/dev/null
17-
}
18-
# Logging levels
19-
log_info() { log "INFO" "$@"; }
20-
log_pass() { log "PASS" "$@"; }
21-
log_fail() { log "FAIL" "$@"; }
22-
log_error() { log "ERROR" "$@"; }
23-
246
test_path=$(find_test_case_by_name "$TESTNAME")
257
log_info "-----------------------------------------------------------------------------------------"
268
log_info "-------------------Starting $TESTNAME Testcase----------------------------"

0 commit comments

Comments
 (0)