Skip to content

Commit

Permalink
unit: Add RVF test cases
Browse files Browse the repository at this point in the history
Adds unit tests "test-rvf.c" that implements
several RVF test cases. The tests should cover all APIs defined in
"avtp_rvf.h".

Signed-off-by: Adrian Fiergolski <[email protected]>
  • Loading branch information
adrianf0 authored and edersondisouza committed Nov 1, 2021
1 parent fd11e72 commit 5b64c9e
Show file tree
Hide file tree
Showing 2 changed files with 936 additions and 0 deletions.
10 changes: 10 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,15 @@ if cmocka.found()
build_by_default: false,
)

test_rvf = executable(
'test-rvf',
'unit/test-rvf.c',
include_directories: include_directories('include'),
link_with: avtp_lib,
dependencies: cmocka,
build_by_default: false,
)

test_ieciidc = executable(
'test-ieciidc',
'unit/test-ieciidc.c',
Expand All @@ -109,6 +118,7 @@ if cmocka.found()
test('AAF API', test_aaf)
test('CRF API', test_crf)
test('CVF API', test_cvf)
test('RVF API', test_rvf)
test('IEC61883/IIDC API', test_ieciidc)
endif

Expand Down
Loading

0 comments on commit 5b64c9e

Please sign in to comment.