@@ -28,8 +28,10 @@ mkdir -p "$OUTPUT_DIR"
2828mkdir -p " $STATIC_PROFILE_DIR "
2929mkdir -p " $LIB_DIR "
3030mkdir -p /media/apps/RDK-RRD-Test/etc/rrd
31+ mkdir -p /media/apps/RDK-RRD-DEEPSLEEP/etc/rrd
3132
3233touch /media/apps/RDK-RRD-Test/etc/rrd/remote_debugger.json
34+ touch /media/apps/RDK-RRD-DEEPSLEEP/etc/rrd/remote_debugger.json
3335
3436apt-get remove systemd
3537apt-get update && apt-get install -y tcpdump
@@ -58,9 +60,27 @@ ln -s /usr/local/bin/journalctl /usr/bin/journalctl
5860rm -rf /tmp/rrd/*
5961rm -rf /opt/logs/remotedebugger.log*
6062
63+ cd ./test/functional-tests/tests
64+ make
65+ cd -
66+
6167# Run L2 Test cases
68+ pytest --json-report --json-report-summary --json-report-file $RESULT_DIR /rrd_neg.json test/functional-tests/tests/test_rrd_negative.py
69+ cat /opt/logs/remotedebugger.log.0
70+ cat /opt/logs/rfcscript.txt.0
71+
6272pytest --json-report --json-report-summary --json-report-file $RESULT_DIR /rrd_dynamic_profile_missing_report.json test/functional-tests/tests/test_rrd_dynamic_profile_missing_report.py
73+ cat /opt/logs/remotedebugger.log.0
74+ /opt/logs/rfcscript.txt.0
75+ rm -rf /media/apps/RDK-RRD-Test/etc/rrd/remote_debugger.json
76+ rm -rf /tmp/RDK-RRD-Test/etc/rrd/remote_debugger.json
77+ pytest --json-report --json-report-summary --json-report-file $RESULT_DIR /rrd_dynamic_profile_harmful_with_download.json test/functional-tests/tests/test_rrd_dynamic_with_download_harmful.py
78+ rm -rf /media/apps/RDK-RRD-Test/etc/rrd/remote_debugger.json
79+ rm -rf /tmp/RDK-RRD-Test/etc/rrd/remote_debugger.json
80+ pytest --json-report --json-report-summary --json-report-file $RESULT_DIR /test_category.json test/functional-tests/tests/test_category.py
81+ pytest --json-report --json-report-summary --json-report-file $RESULT_DIR /rrd_append.json test/functional-tests/tests/test_append.py
6382pytest --json-report --json-report-summary --json-report-file $RESULT_DIR /rrd_dynamic_profile_harmful_report.json test/functional-tests/tests/test_rrd_dynamic_profile_harmful_report.py
83+ cp remote_debugger.json /etc/rrd/
6484pytest --json-report --json-report-summary --json-report-file $RESULT_DIR /rrd_dynamic_profile_report.json test/functional-tests/tests/test_rrd_dynamic_profile_report.py
6585pytest --json-report --json-report-summary --json-report-file $RESULT_DIR /rrd_append_dynamic_profile_static_notfound.json test/functional-tests/tests/test_rrd_append_dynamic_profile_static_notfound.py
6686pytest --json-report --json-report-summary --json-report-file $RESULT_DIR /rrd_single_instance.json test/functional-tests/tests/test_rrd_single_instance.py
@@ -75,3 +95,8 @@ pytest --json-report --json-report-summary --json-report-file $RESULT_DIR/rrd_em
7595pytest --json-report --json-report-summary --json-report-file $RESULT_DIR /rrd_static_profile_missing_command_report.json test/functional-tests/tests/test_rrd_static_profile_missing_command_report.py
7696pytest --json-report --json-report-summary --json-report-file $RESULT_DIR /rrd_background_cmd_static_profile_report.json test/functional-tests/tests/test_rrd_background_cmd_static_profile_report.py
7797pytest --json-report --json-report-summary --json-report-file $RESULT_DIR /rrd_debug_report_upload.json test/functional-tests/tests/test_rrd_debug_report_upload.py
98+ pytest --json-report --json-report-summary --json-report-file $RESULT_DIR /rrd_deepsleep_static.json test/functional-tests/tests/test_deepsleep_static.py
99+ cp remote_debugger.json /media/apps/RDK-RRD-DEEPSLEEP/etc/rrd/remote_debugger.json
100+ pytest --json-report --json-report-summary --json-report-file $RESULT_DIR /rrd_deepsleep_dynamic.json test/functional-tests/tests/test_deepsleep_dynamic.py
101+
102+
0 commit comments