Skip to content

Commit c99be08

Browse files
Third set of test scripts to have automated implementation of python tests to use Metadata script as an intermediate argument holder (#34063)
* Adding more python tests to use Metadata script for arguments * Adding more python tests to use Metadata script for arguments * Adding more python tests to use Metadata script for arguments * Add tracing support for microwave-oven-app * Add tracing support for rvc-app
1 parent 0460715 commit c99be08

27 files changed

+193
-24
lines changed

.github/workflows/tests.yaml

+26-24
Large diffs are not rendered by default.

examples/microwave-oven-app/linux/args.gni

+2
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ chip_system_project_config_include = "<SystemProjectConfig.h>"
2525
chip_project_config_include_dirs =
2626
[ "${chip_root}/examples/microwave-oven-app/linux/include" ]
2727
chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ]
28+
29+
matter_enable_tracing_support = true

examples/rvc-app/linux/args.gni

+2
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ chip_system_project_config_include = "<SystemProjectConfig.h>"
2323
chip_project_config_include_dirs =
2424
[ "${chip_root}/examples/rvc-app/linux/include" ]
2525
chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ]
26+
27+
matter_enable_tracing_support = true

src/python_testing/TC_MWOCTRL_2_1.py

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${CHIP_MICROWAVE_OVEN_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
24+
1825
import chip.clusters as Clusters
1926
from chip.interaction_model import InteractionModelError, Status
2027
from matter_testing_support import MatterBaseTest, TestStep, async_test_body, default_matter_test_main

src/python_testing/TC_MWOCTRL_2_2.py

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${CHIP_MICROWAVE_OVEN_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
24+
1825
import logging
1926

2027
import chip.clusters as Clusters

src/python_testing/TC_MWOCTRL_2_4.py

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${CHIP_MICROWAVE_OVEN_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
24+
1825
import logging
1926

2027
import chip.clusters as Clusters

src/python_testing/TC_MWOM_1_2.py

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${CHIP_MICROWAVE_OVEN_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
24+
1825
import logging
1926

2027
import chip.clusters as Clusters

src/python_testing/TC_OPCREDS_3_2.py

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${ALL_CLUSTERS_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
24+
1825
import chip.clusters as Clusters
1926
from chip.tlv import TLVReader
2027
from chip.utils import CommissioningBuildingBlocks

src/python_testing/TC_OPSTATE_2_1.py

+6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${ALL_CLUSTERS_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --endpoint 1 --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
1824

1925
import chip.clusters as Clusters
2026
from matter_testing_support import MatterBaseTest, TestStep, async_test_body, default_matter_test_main

src/python_testing/TC_OPSTATE_2_2.py

+6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${ALL_CLUSTERS_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --endpoint 1 --int-arg PIXIT.WAITTIME.COUNTDOWN:5 --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
1824

1925
import chip.clusters as Clusters
2026
from matter_testing_support import MatterBaseTest, TestStep, async_test_body, default_matter_test_main

src/python_testing/TC_OPSTATE_2_3.py

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${ALL_CLUSTERS_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --endpoint 1 --int-arg PIXIT.WAITTIME.COUNTDOWN:5 --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
24+
1825

1926
import chip.clusters as Clusters
2027
from matter_testing_support import MatterBaseTest, TestStep, async_test_body, default_matter_test_main

src/python_testing/TC_OPSTATE_2_4.py

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${ALL_CLUSTERS_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --endpoint 1 --int-arg PIXIT.OPSTATE.ErrorEventGen:1 --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
24+
1825

1926
import chip.clusters as Clusters
2027
from matter_testing_support import MatterBaseTest, TestStep, async_test_body, default_matter_test_main

src/python_testing/TC_OPSTATE_2_5.py

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${ALL_CLUSTERS_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --endpoint 1 --int-arg PIXIT.WAITTIME.REBOOT:5 --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
24+
1825

1926
import chip.clusters as Clusters
2027
from matter_testing_support import MatterBaseTest, TestStep, async_test_body, default_matter_test_main

src/python_testing/TC_OVENOPSTATE_2_1.py

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${ALL_CLUSTERS_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --endpoint 1 --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
24+
1825

1926
import chip.clusters as Clusters
2027
from matter_testing_support import MatterBaseTest, TestStep, async_test_body, default_matter_test_main

src/python_testing/TC_OVENOPSTATE_2_2.py

+6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${ALL_CLUSTERS_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --endpoint 1 --int-arg PIXIT.WAITTIME.COUNTDOWN:5 --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
1824

1925
import chip.clusters as Clusters
2026
from matter_testing_support import MatterBaseTest, TestStep, async_test_body, default_matter_test_main

src/python_testing/TC_OVENOPSTATE_2_3.py

+6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${ALL_CLUSTERS_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --endpoint 1 --int-arg PIXIT.WAITTIME.COUNTDOWN:5 --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
1824

1925
import chip.clusters as Clusters
2026
from matter_testing_support import MatterBaseTest, TestStep, async_test_body, default_matter_test_main

src/python_testing/TC_OVENOPSTATE_2_4.py

+6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${ALL_CLUSTERS_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --endpoint 1 --int-arg PIXIT.OVENOPSTATE.ErrorEventGen:1 --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
1824

1925
import chip.clusters as Clusters
2026
from matter_testing_support import MatterBaseTest, TestStep, async_test_body, default_matter_test_main

src/python_testing/TC_OVENOPSTATE_2_5.py

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${ALL_CLUSTERS_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --endpoint 1 --int-arg PIXIT.WAITTIME.REBOOT:5 --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
24+
1825

1926
import chip.clusters as Clusters
2027
from matter_testing_support import MatterBaseTest, TestStep, async_test_body, default_matter_test_main

src/python_testing/TC_RVCCLEANM_1_2.py

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${CHIP_RVC_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS examples/rvc-app/rvc-common/pics/rvc-app-pics-values --endpoint 1 --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
24+
1825
import logging
1926

2027
import chip.clusters as Clusters

src/python_testing/TC_RVCCLEANM_2_1.py

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${CHIP_RVC_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS examples/rvc-app/rvc-common/pics/rvc-app-pics-values --endpoint 1 --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto --int-arg PIXIT.RVCCLEANM.MODE_CHANGE_FAIL:1 PIXIT.RVCCLEANM.MODE_CHANGE_OK:2
24+
1825
import logging
1926
from time import sleep
2027

src/python_testing/TC_RVCCLEANM_2_2.py

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${CHIP_RVC_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS examples/rvc-app/rvc-common/pics/rvc-app-pics-values --endpoint 1 --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
24+
1825
from time import sleep
1926

2027
import chip.clusters as Clusters

src/python_testing/TC_RVCOPSTATE_2_1.py

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${CHIP_RVC_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS examples/rvc-app/rvc-common/pics/rvc-app-pics-values --endpoint 1 --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
24+
1825
import logging
1926
from time import sleep
2027

src/python_testing/TC_RVCOPSTATE_2_3.py

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${CHIP_RVC_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS examples/rvc-app/rvc-common/pics/rvc-app-pics-values --endpoint 1 --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
24+
1825
import logging
1926
from time import sleep
2027

src/python_testing/TC_RVCOPSTATE_2_4.py

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${CHIP_RVC_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS examples/rvc-app/rvc-common/pics/rvc-app-pics-values --endpoint 1 --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
24+
1825
import logging
1926
from time import sleep
2027

src/python_testing/TC_RVCRUNM_1_2.py

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${CHIP_RVC_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS examples/rvc-app/rvc-common/pics/rvc-app-pics-values --endpoint 1 --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
24+
1825
import logging
1926

2027
import chip.clusters as Clusters

src/python_testing/TC_RVCRUNM_2_1.py

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${CHIP_RVC_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS examples/rvc-app/rvc-common/pics/rvc-app-pics-values --endpoint 1 --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto --int-arg PIXIT.RVCRUNM.MODE_CHANGE_OK:0 PIXIT.RVCRUNM.MODE_CHANGE_FAIL:2
24+
1825
import logging
1926
from time import sleep
2027

src/python_testing/TC_RVCRUNM_2_2.py

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18+
# test-runner-runs: run1
19+
# test-runner-run/run1/app: ${CHIP_RVC_APP}
20+
# test-runner-run/run1/factoryreset: True
21+
# test-runner-run/run1/quiet: True
22+
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
23+
# test-runner-run/run1/script-args: --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS examples/rvc-app/rvc-common/pics/rvc-app-pics-values --endpoint 1 --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto --int-arg PIXIT.RVCRUNM.MODE_A:1 PIXIT.RVCRUNM.MODE_B:2
24+
1825
from time import sleep
1926

2027
import chip.clusters as Clusters

0 commit comments

Comments
 (0)