Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
6a8bd72
Add L1 Unit Test Framework with Google Test
anand-ky Feb 11, 2026
19bd3fd
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
8eec3cd
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
f70194b
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
75d8a63
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
267d9a8
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
2a5279f
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
b759161
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
d833298
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
0c9641a
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
36a9b8a
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
50ada42
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
1391261
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
4f761a3
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
0781f99
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
c1a5d8e
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
c5d6208
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
9cdb5c4
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
ccccd37
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
1a3037e
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
7babaf1
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
a15aad9
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
0f74f9f
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
5126746
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
2977de7
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
1675556
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 16, 2026
f5ef5c0
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
912487b
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
f92b96c
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
d9134d7
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
4a4cdea
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
55d4608
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
59665ed
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
4244ae9
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
d4a26f1
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
4e7b963
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
afbdaf8
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
00a95f0
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
c01b081
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
9d7dd0a
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
22faa6b
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
d58d9a7
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
1d4cdd5
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
bb3d130
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
891a888
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
bb5b32e
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
85531f8
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
2f4629f
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
faad769
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
988b1d4
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
74f317a
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
763e218
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
6083d83
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
917ced0
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
66f5dd6
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
d243869
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
d526502
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
2a40b5d
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 17, 2026
82a2a04
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
544435d
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
b7dd62d
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
7218374
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
42b603b
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
d82eb86
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
8c0fab5
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
f763c2b
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
661424d
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
37114b6
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
dac550a
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
47259cf
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
5489d7f
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
5d60081
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
3979776
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
bc9dd93
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
92394e0
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
2ee065c
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
d0caa14
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
a8e821b
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
02930b6
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
2076c01
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
1624141
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
51d39ad
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
db34a7d
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
6ae5f75
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
90f86c7
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
09eccde
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
8d8f15e
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
8214c61
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
b0716c1
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
0040083
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
cd45481
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
26715ed
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
395449c
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
f4a3114
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
8775096
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
ed2bcac
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
550764f
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
cf0594d
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
1db8c95
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
b9786eb
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
4a35a8b
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
fae1a08
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
6447e7e
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 18, 2026
c4ee400
Merge branch 'develop' into feature/RDKEMW-14049
hgfell683 Feb 19, 2026
6a359a7
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 19, 2026
bc78b6d
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 19, 2026
ec5a56c
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 19, 2026
7ff6258
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 19, 2026
67e2499
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 19, 2026
af1a101
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 19, 2026
d087605
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 19, 2026
e48fa73
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 19, 2026
316eedf
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 19, 2026
ac344ff
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 19, 2026
a4a4e57
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 19, 2026
3975a60
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 19, 2026
c9a565f
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 19, 2026
3a6d96a
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 19, 2026
6a5e6ed
Update tests/L1Tests/ccec/test_LibCCEC.cpp
hgfell683 Feb 25, 2026
8b52609
Update .github/workflows/L1-tests.yml
hgfell683 Feb 25, 2026
9f80abd
Update tests/CECCmdTest.cpp
hgfell683 Feb 25, 2026
64b91c9
Potential fix for code scanning alert no. 3: Workflow does not contai…
hgfell683 Feb 25, 2026
85c53d0
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 25, 2026
3ef9d58
Update mocks/README.md
hgfell683 Feb 25, 2026
41eab3d
RDKEMW-14049 : HdmiCec G-test
hgfell683 Feb 25, 2026
b83a26f
RDKEMW-14049 : HdmiCec G-test
hgfell683 Mar 17, 2026
f6403d6
RDKEMW-14049 : HdmiCec G-test
hgfell683 Mar 17, 2026
6033009
RDKEMW-14049 : HdmiCec G-test
hgfell683 Mar 17, 2026
1d7b2a4
RDKEMW-14049 : HdmiCec G-test
hgfell683 Mar 17, 2026
935fca3
RDKEMW-14049 : HdmiCec G-test
hgfell683 Mar 17, 2026
b9645aa
RDKEMW-14049 : HdmiCec G-test
hgfell683 Mar 17, 2026
8ca74e6
RDKEMW-14049 : HdmiCec G-test
hgfell683 Mar 17, 2026
dfe85ce
RDKEMW-14049 : HdmiCec G-test
hgfell683 Mar 17, 2026
b1a4a63
RDKEMW-14049 : HdmiCec G-test
hgfell683 Mar 17, 2026
0f00d4e
RDKEMW-14049 : HdmiCec G-test
hgfell683 Mar 17, 2026
da1f058
RDKEMW-14049 : HdmiCec G-test
hgfell683 Mar 17, 2026
c82ead8
RDKEMW-14049 : HdmiCec G-test
hgfell683 Mar 17, 2026
11cf32d
RDKEMW-14049 : HdmiCec G-test
hgfell683 Mar 17, 2026
8d8c6e0
RDKEMW-14049 : HdmiCec G-test
hgfell683 Mar 17, 2026
4160af0
RDKEMW-14049 : HdmiCec G-test
hgfell683 Mar 17, 2026
4023559
Merge tag '1.0.10' into develop
apatel859 Mar 18, 2026
77214d2
Merge branch 'develop' into feature/RDKEMW-14049
apatel859 Mar 27, 2026
228a92a
Merge pull request #49 from rdkcentral/feature/RDKEMW-14049
hgfell683 Mar 27, 2026
0055620
RDKEMW-16730 : Evaluation on finding invalid markers in entservices r…
mkumar705 Apr 21, 2026
b49ca50
Update Bus.cpp
srinibas15 May 7, 2026
d50d864
Update MessageDecoder.cpp
srinibas15 May 7, 2026
248d8a9
Updated the Invalid Markers
srinibas104 May 20, 2026
c234eec
Update Bus.cpp
srinibas15 May 29, 2026
3955cfd
Update MessageDecoder.cpp
srinibas15 May 29, 2026
f1521dc
Merge pull request #56 from rdkcentral/feature/RDKEMW-16730
apatel859 Jun 2, 2026
4068643
1.0.11 release change log updates
apatel859 Jun 2, 2026
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
185 changes: 185 additions & 0 deletions .github/workflows/L1-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
name: L1-tests

on:
push:
branches:
- develop
- main
pull_request:
branches:
- develop
- main
workflow_dispatch:

permissions:
contents: read

env:
BUILD_TYPE: Debug

jobs:
L1-tests:
name: Build and run unit tests
runs-on: ubuntu-22.04
strategy:
matrix:
compiler: [ gcc, clang ]
coverage: [ with-coverage, without-coverage ]
exclude:
- compiler: clang
coverage: with-coverage
- compiler: clang
coverage: without-coverage
- compiler: gcc
coverage: without-coverage

steps:
- name: Set up CMake
uses: jwlawson/actions-setup-cmake@v1.13
with:
cmake-version: '3.16.x'
github-api-token: ''

- name: Install packages
run: >
sudo apt update
&&
sudo apt install -y autoconf automake libtool pkg-config libgtest-dev libgmock-dev libdbus-1-dev build-essential g++ cmake valgrind lcov clang ninja-build

- name: Checkout hdmicec
uses: actions/checkout@v3
with:
path: hdmicec

- name: Checkout googletest
uses: actions/checkout@v3
with:
repository: google/googletest
path: googletest
ref: v1.15.0

- name: Build googletest
run: >
cmake -G Ninja
-S "$GITHUB_WORKSPACE/googletest"
-B build/googletest
-DCMAKE_INSTALL_PREFIX="$GITHUB_WORKSPACE/install/usr"
-DBUILD_TYPE=Debug
-DBUILD_GMOCK=ON
-DBUILD_SHARED_LIBS=OFF
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
&&
cmake --build build/googletest -j8
&&
cmake --install build/googletest

- name: Generate stub headers
# Empty headers to mute errors
run: >
cd "$GITHUB_WORKSPACE/hdmicec"
&&
mkdir -p
stubs/rdk/iarmbus
stubs/ccec/drivers/iarmbus
&&
cd stubs
&&
touch
rdk/iarmbus/libIARM.h
rdk/iarmbus/libIBus.h
rdk/iarmbus/libIBusDaemon.h
ccec/drivers/iarmbus/CecIARMBusMgr.h
&&
ln -s ../../../mocks/hdmicec/hdmi_cec_driver.h ccec/drivers/hdmi_cec_driver.h

- name: Build hdmicec
run: >
cd $GITHUB_WORKSPACE/hdmicec
&&
autoreconf -if
&&
CPPFLAGS="-I$GITHUB_WORKSPACE/hdmicec/mocks
-I$GITHUB_WORKSPACE/hdmicec/stubs
-I$GITHUB_WORKSPACE/install/usr/include"
LDFLAGS="-L$GITHUB_WORKSPACE/install/usr/lib
-fprofile-arcs -ftest-coverage"
CXXFLAGS="-fprofile-arcs -ftest-coverage"
./configure --enable-l1tests
&&
make -j$(nproc) all
&&
cd tests/L1Tests && make all

- name: List available tests
run: >
cd $GITHUB_WORKSPACE/hdmicec/tests/L1Tests
&&
LD_LIBRARY_PATH=$GITHUB_WORKSPACE/install/usr/lib:${LD_LIBRARY_PATH}
./run_L1Tests --gtest_list_tests

- name: Run L1 Tests without valgrind
run: >
cd $GITHUB_WORKSPACE/hdmicec/tests/L1Tests
&&
LD_LIBRARY_PATH=$GITHUB_WORKSPACE/install/usr/lib:${LD_LIBRARY_PATH}
GTEST_OUTPUT="json:$GITHUB_WORKSPACE/rdkL1TestResults.json"
./run_L1Tests --gtest_print_time=1 --gtest_output=json:$GITHUB_WORKSPACE/rdkL1TestResults.json ||
(echo "Test execution failed or crashed" && exit 1)
&&
cp -rf $GITHUB_WORKSPACE/rdkL1TestResults.json $GITHUB_WORKSPACE/rdkL1TestResultsWithoutValgrind.json

- name: Run L1 Tests with valgrind
if: ${{ !env.ACT }}
run: >
cd $GITHUB_WORKSPACE/hdmicec/tests/L1Tests
&&
LD_LIBRARY_PATH=$GITHUB_WORKSPACE/install/usr/lib:${LD_LIBRARY_PATH}
GTEST_OUTPUT="json:$GITHUB_WORKSPACE/rdkL1TestResults.json"
make check-valgrind || (
valgrind
--tool=memcheck
--log-file=$GITHUB_WORKSPACE/valgrind_log
--leak-check=yes
--show-reachable=yes
--track-fds=yes
--fair-sched=try
./run_L1Tests )
&&
cp -rf $GITHUB_WORKSPACE/rdkL1TestResults.json $GITHUB_WORKSPACE/rdkL1TestResultsWithValgrind.json

- name: Generate coverage
if: ${{ matrix.coverage == 'with-coverage' && !env.ACT }}
run: >
cd $GITHUB_WORKSPACE
&&
lcov -c
-o coverage.info
-d hdmicec
&&
lcov
-r coverage.info
'/usr/include/*'
'*/install/usr/include/*'
'*/stubs/*'
'*/mocks/*'
'*/googletest/*'
'*/tests/*'
'*/test_*.cpp'
-o filtered_coverage.info
&&
genhtml
-o coverage
-t "hdmicec coverage"
filtered_coverage.info

- name: Upload artifacts
if: ${{ !env.ACT }}
uses: actions/upload-artifact@v4
with:
name: artifacts-L1-hdmicec-${{ matrix.compiler }}-${{ matrix.coverage }}
path: |
coverage/
valgrind_log
rdkL1TestResultsWithoutValgrind.json
rdkL1TestResultsWithValgrind.json
if-no-files-found: warn
15 changes: 15 additions & 0 deletions .github/workflows/tests-trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
permissions:
contents: read
name: main-workflow

on:
push:
branches: [ main, develop, 'sprint/**', 'release/**' ]
pull_request:
branches: [ main, develop, 'sprint/**', 'release/**' ]

jobs:
trigger-L1:
uses: ./.github/workflows/L1-tests.yml
with:
caller_source: local
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,20 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [1.0.11](https://github.com/rdkcentral/hdmicec/compare/1.0.10...1.0.11)

- RDKEMW-16730 : Evaluation on finding invalid markers in entservices repos [`#56`](https://github.com/rdkcentral/hdmicec/pull/56)
- RDKEMW-14049 : HdmiCec G-test [`#49`](https://github.com/rdkcentral/hdmicec/pull/49)
- Add L1 Unit Test Framework with Google Test [`6a8bd72`](https://github.com/rdkcentral/hdmicec/commit/6a8bd72944a5bbc683ab4c4e072681c1a4484a68)
- Update .github/workflows/L1-tests.yml [`8b52609`](https://github.com/rdkcentral/hdmicec/commit/8b526097a52321113739f21979c92dfb90a11f39)
- Update tests/L1Tests/ccec/test_LibCCEC.cpp [`6a5e6ed`](https://github.com/rdkcentral/hdmicec/commit/6a5e6ed4829e12eb47f647eb0cc5cc60a1dc54d9)

#### [1.0.10](https://github.com/rdkcentral/hdmicec/compare/1.0.9...1.0.10)

> 18 March 2026

- RDKEMW-15643: [RDKE] Thunder Plugins t2 event markers showing up as 'hdmicec' [`#53`](https://github.com/rdkcentral/hdmicec/pull/53)
- 1.0.10 release change log updates [`574b147`](https://github.com/rdkcentral/hdmicec/commit/574b1472dcf1ac82e24793ac19d2b385ab8e77f6)
- Merge tag '1.0.9' into develop [`31b4fd9`](https://github.com/rdkcentral/hdmicec/commit/31b4fd9b1434e3c962e0370c840786b7c6ef6b58)

#### [1.0.9](https://github.com/rdkcentral/hdmicec/compare/1.0.8...1.0.9)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# limitations under the License.
##########################################################################
SUBDIRS = osal ccec
DIST_SUBDIRS = cfg osal ccec
DIST_SUBDIRS = cfg osal ccec tests

nobase_includedir = ${includedir}/hdmicec
nobase_include_HEADERS = ${top_srcdir}/ccec/include/ccec/Assert.hpp \
Expand Down
Loading
Loading