Skip to content

Commit cce7f3c

Browse files
committed
test: skip Chrome Next Generation tests on not nocodec
1 parent 60f43ba commit cce7f3c

File tree

5 files changed

+18
-2
lines changed

5 files changed

+18
-2
lines changed

test-case/check-8bit-play-rec.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ main()
112112
init_globals
113113

114114
start_test
115+
if [[ "$TPLG" != *nocodec* ]]; then
116+
skip_test "Skipping: this test is supported only on NOCODEC platforms."
117+
fi
118+
115119
logger_disabled || func_lib_start_log_collect
116120

117121
setup_kernel_check_point

test-case/check-float-play-rec.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ main()
8787
init_globals
8888

8989
start_test
90+
if [[ "$TPLG" != *nocodec* ]]; then
91+
skip_test "Skipping: this test is supported only on NOCODEC platforms."
92+
fi
93+
9094
logger_disabled || func_lib_start_log_collect
9195

9296
setup_kernel_check_point

test-case/check-selector-play.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ main()
124124

125125
start_test
126126

127-
if [[ "$tplg" != *"nocodec"* ]]; then
128-
skip_test "Test currently supported for NO-CODEC platforms only"
127+
if [[ "$tplg" != *nocodec* ]]; then
128+
skip_test "Skipping: test currently supported for NO-CODEC platforms only"
129129
fi
130130

131131
logger_disabled || func_lib_start_log_collect

test-case/check-src-play.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ main()
8686
init_globals
8787

8888
start_test
89+
if [[ "$TPLG" != *nocodec* ]]; then
90+
skip_test "Skipping: this test is supported only on NOCODEC platforms."
91+
fi
92+
8993
logger_disabled || func_lib_start_log_collect
9094

9195
setup_kernel_check_point

test-case/check-src-rec.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ main()
8383
init_globals
8484

8585
start_test
86+
if [[ "$TPLG" != *nocodec* ]]; then
87+
skip_test "Skipping: this test is supported only on NOCODEC platforms."
88+
fi
89+
8690
logger_disabled || func_lib_start_log_collect
8791

8892
setup_kernel_check_point

0 commit comments

Comments
 (0)