Skip to content

[Test] Add unit tests for halbackends#27

Merged
jaeyun-jung merged 4 commits into
nnstreamer:mainfrom
anyj0527:sandbox/abha/gtest_
Mar 9, 2026
Merged

[Test] Add unit tests for halbackends#27
jaeyun-jung merged 4 commits into
nnstreamer:mainfrom
anyj0527:sandbox/abha/gtest_

Conversation

@anyj0527

Copy link
Copy Markdown
Member

By abha:

  • Add unit tests for halbackends

By yongjoo:

  • Add proper IF(ENABLE_DUMMY) in test/CMakeLists.txt
  • Disable build_tests by default (hal rootstrap check complains about it)
  • gbs build ... --define "build_test 1" would enable build test

@anyj0527
anyj0527 requested a review from a team as a code owner February 24, 2026 12:06
Comment thread test/CMakeLists.txt Outdated
Comment thread CMakeLists.txt Outdated
@abhajaswal

Copy link
Copy Markdown

Thanks @anyj0527 for raising the PR & enhancing the usecase

abha.jaswal and others added 3 commits February 25, 2026 13:17
Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
- Add proper `IF(ENABLE_DUMMY)` in test/CMakeLists.txt

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
- Disable `build_tests` by default.
- HAL backends should not use gtest but use only hal-rootstrap
- `gbs build ... --define "build_test 1"` would enable build test
- Update README.md

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
@anyj0527
anyj0527 force-pushed the sandbox/abha/gtest_ branch from 5348983 to 898f75e Compare February 25, 2026 04:26
Comment thread test/CMakeLists.txt Outdated
Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
@anyj0527
anyj0527 force-pushed the sandbox/abha/gtest_ branch from 8d418cb to 8e84097 Compare February 25, 2026 05:01
@abhajaswal

Copy link
Copy Markdown

Looks good

@abhajaswal

Copy link
Copy Markdown

Kindly merge this

@jaeyun-jung
jaeyun-jung merged commit 62ff413 into nnstreamer:main Mar 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants