Skip to content

Commit bd6db5d

Browse files
Revert DEFAULT_TIMEOUT_SEC, changed to using gn builds, updated test sequence order
1 parent b17d06a commit bd6db5d

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

.github/workflows/examples-linux-tv-casting-app.yaml

+10-4
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,19 @@ jobs:
5656

5757
- name: Build Linux tv-app
5858
run: |
59-
./scripts/run_in_build_env.sh \
60-
"scripts/examples/gn_build_example.sh examples/tv-app/linux/ out/tv-app"
59+
# ./scripts/run_in_build_env.sh \
60+
# "scripts/examples/gn_build_example.sh examples/tv-app/linux/ out/tv-app"
61+
62+
# Try using the gn build command instead:
63+
gn gen --check --fail-on-unused-args --root=examples/tv-app/linux out/tv-app '--args=chip_crypto="boringssl" is_asan=true is_clang=true'
6164
6265
- name: Build Linux tv-casting-app
6366
run: |
64-
./scripts/run_in_build_env.sh \
65-
"scripts/examples/gn_build_example.sh examples/tv-casting-app/linux/ out/tv-casting-app chip_casting_simplified=true"
67+
# ./scripts/run_in_build_env.sh \
68+
# "scripts/examples/gn_build_example.sh examples/tv-casting-app/linux/ out/tv-casting-app chip_casting_simplified=true"
69+
70+
# Try using the gn build command instead:
71+
gn gen --check --fail-on-unused-args --root=examples/tv-casting-app/linux out/tv-casting-app '--args=chip_casting_simplified=true chip_crypto="boringssl" is_asan=true is_clang=true'
6672
6773
- name:
6874
Test casting from Linux tv-casting-app to Linux tv-app -

scripts/tests/linux/tv_casting_test_sequence_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Step:
4949
"""
5050

5151
# The maximum default time to wait while parsing for output string(s).
52-
DEFAULT_TIMEOUT_SEC = 30
52+
DEFAULT_TIMEOUT_SEC = 10
5353

5454
def __init__(
5555
self,

scripts/tests/linux/tv_casting_test_sequences.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -229,12 +229,12 @@
229229
# Validate that pairing succeeded between the tv-casting-app and the tv-app.
230230
Step(app=App.TV_APP, output_msg=['Secure Pairing Success']),
231231

232-
# Validate that the connection succeeded in the tv-casting-app output.
233-
Step(app=App.TV_CASTING_APP, output_msg=['Successfully connected to CastingPlayer']),
234-
235232
# Validate that commissioning succeeded in the tv-app output.
236233
Step(app=App.TV_APP, output_msg=['------PROMPT USER: commissioning success']),
237234

235+
# Validate that the connection succeeded in the tv-casting-app output.
236+
Step(app=App.TV_CASTING_APP, output_msg=['Successfully connected to CastingPlayer']),
237+
238238
# Validate that we are able to subscribe to the media playback cluster by reading the CurrentState value and that it matches {ATTRIBUTE_CURRENT_PLAYBACK_STATE}.
239239
Step(app=App.TV_CASTING_APP, output_msg=[f'Read CurrentState value: {ATTRIBUTE_CURRENT_PLAYBACK_STATE}']),
240240

0 commit comments

Comments
 (0)