Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
821b155
Update configure.ac
Abhinavpv28 Jul 1, 2025
d3ce948
Update cov_build.sh
Abhinavpv28 Jul 1, 2025
52d193e
Update rrdInterface.c
Abhinavpv28 Jul 1, 2025
7a5c935
Update rrdInterface.c
Abhinavpv28 Jul 1, 2025
a20eacb
Update create_json.sh
Abhinavpv28 Jul 1, 2025
cfe25fa
Create test_append.py
Abhinavpv28 Jul 1, 2025
acae0a3
Update test_rrd_dynamic_profile_missing_report.py
Abhinavpv28 Jul 1, 2025
a2f991f
Create test_rrd_negative.py
Abhinavpv28 Jul 1, 2025
9a5be23
Update run_l2.sh
Abhinavpv28 Jul 1, 2025
03953d7
Update test_rrd_negative.py
Abhinavpv28 Jul 1, 2025
487a01e
Update run_l2.sh
Abhinavpv28 Jul 1, 2025
3dbf1ec
Update run_l2.sh
Abhinavpv28 Jul 1, 2025
634ddb1
Update run_l2.sh
Abhinavpv28 Jul 1, 2025
79dfb61
Update test_rrd_negative.py
Abhinavpv28 Jul 28, 2025
735f7c6
Update test_rrd_negative.py
Abhinavpv28 Jul 28, 2025
9cfc568
Update test_rrd_dynamic_profile_missing_report.py
Abhinavpv28 Jul 28, 2025
b5daeb0
Merge pull request #144 from rdkcentral/develop
Abhinavpv28 Jul 31, 2025
bc1f695
Update run_l2.sh
Abhinavpv28 Aug 7, 2025
c001303
Create pwrMgr.h
Abhinavpv28 Aug 10, 2025
3687a6f
Update cov_build.sh
Abhinavpv28 Aug 10, 2025
ca91bc2
Create test_rrd_dynamic_with_download_harmful.py
Abhinavpv28 Aug 10, 2025
11ecaaf
Update run_l2.sh
Abhinavpv28 Aug 10, 2025
c84940e
Create test_category.py
Abhinavpv28 Aug 15, 2025
7bf2b7c
Update run_l2.sh
Abhinavpv28 Aug 15, 2025
2d4f36e
Update test_category.py
Abhinavpv28 Aug 15, 2025
ffbc2cc
Update test_category.py
Abhinavpv28 Aug 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,19 @@ AC_TYPE_SIZE_T
AC_CONFIG_FILES([Makefile
src/Makefile])

AC_ARG_ENABLE([L2support],
AS_HELP_STRING([--enable-L2support],[enable L2support (default is no)]),
[
case "${enableval}" in
yes) L2_SUPPORT_ENABLE=true
L2_SUPPORT_FLAG="-DUSE_L2_SUPPORT"
m4_if(m4_sysval,[0],[SUBDIRS_L2_SUPPORT="src"]) ;;
no) L2_SUPPORT_ENABLE=false AC_MSG_ERROR([L2_SUPPORT is disabled]) ;;
*) AC_MSG_ERROR([bad value ${enableval} for --enable-L2support]) ;;
esac
],
[echo "L2support is disabled"])

# IARMBus Support
AC_ARG_ENABLE([iarmbusSupport],
[ --enable-iarmbusSupport Turn on iarmbus support],
Expand Down
6 changes: 3 additions & 3 deletions cov_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ cp /usr/iarmmgrs/rdmmgr/include/rdmMgr.h /usr/local/include
cp /usr/iarmbus/core/include/libIBusDaemon.h /usr/local/include
cp /usr/iarmbus/core/include/libIBus.h /usr/local/include
cp /usr/iarmbus/core/libIARMCore.h /usr/local/include
cp /usr/iarmmgrs/hal/include/pwrMgr.h /usr/local/include/


# Build and install stubs from tr69hostif

Expand All @@ -78,6 +78,6 @@ cp libIARM.h /usr/local/include
cd $WORKDIR
autoreconf -i
autoupdate
./configure --prefix=${INSTALL_DIR} --enable-iarmbusSupport=yes
make remotedebugger_CFLAGS="-I/usr/include/cjson -I/usr/local/include/wdmp-c -I/usr/local/include/rbus -I/usr/local/include -I/usr/local/include/trower-base64 -DIARMBUS_SUPPORT -DUSECOV" remotedebugger_LDFLAGS="-L/usr/local/lib -lrdkloggers -lcjson -lrfcapi -lrbus -lmsgpackc -lsecure_wrapper -lwebconfig_framework -lIARMBus -ltr181api -L/usr/local/lib/x86_64-linux-gnu -ltrower-base64 -L/usr/lib/x86_64-linux-gnu"
./configure --prefix=${INSTALL_DIR} --enable-iarmbusSupport=yes --enable-L2support=yes
make remotedebugger_CFLAGS="-I/usr/include/cjson -I/usr/local/include/wdmp-c -I/usr/local/include/rbus -I/usr/local/include -I/usr/local/include/trower-base64 -DIARMBUS_SUPPORT -DUSECOV -DUSE_L2_SUPPORT" remotedebugger_LDFLAGS="-L/usr/local/lib -lrdkloggers -lcjson -lrfcapi -lrbus -lmsgpackc -lsecure_wrapper -lwebconfig_framework -lIARMBus -ltr181api -L/usr/local/lib/x86_64-linux-gnu -ltrower-base64 -L/usr/lib/x86_64-linux-gnu"
make install
10 changes: 9 additions & 1 deletion run_l2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ mkdir -p "$LIB_DIR"
mkdir -p /media/apps/RDK-RRD-Test/etc/rrd

touch /media/apps/RDK-RRD-Test/etc/rrd/remote_debugger.json

apt-get remove systemd
apt-get update && apt-get install -y tcpdump

Expand Down Expand Up @@ -59,8 +58,17 @@ rm -rf /tmp/rrd/*
rm -rf /opt/logs/remotedebugger.log*

# Run L2 Test cases
pytest --json-report --json-report-summary --json-report-file $RESULT_DIR/rrd_neg.json test/functional-tests/tests/test_rrd_negative.py
pytest --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
rm -rf /media/apps/RDK-RRD-Test/etc/rrd/remote_debugger.json
rm -rf /tmp/RDK-RRD-Test/etc/rrd/remote_debugger.json
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
rm -rf /media/apps/RDK-RRD-Test/etc/rrd/remote_debugger.json
rm -rf /tmp/RDK-RRD-Test/etc/rrd/remote_debugger.json
pytest --json-report --json-report-summary --json-report-file $RESULT_DIR/test_category.json test/functional-tests/tests/test_category.py
pytest --json-report --json-report-summary --json-report-file $RESULT_DIR/rrd_append.json test/functional-tests/tests/test_append.py
pytest --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
cp remote_debugger.json /etc/rrd/
pytest --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
pytest --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
pytest --json-report --json-report-summary --json-report-file $RESULT_DIR/rrd_single_instance.json test/functional-tests/tests/test_rrd_single_instance.py
Expand Down
Loading
Loading