You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue required a dedicated tests/ DMF module that executes dm_sw_ring through its exported API surface. This PR adds that module and integrates it into the repository build so test DMF is produced alongside the main module.
Build wiring
Added add_subdirectory(tests) in root CMakeLists.txt.
Added tests/CMakeLists.txt defining test_dm_sw_ring as a DMOD executable and linking against dm_sw_ring_if.
@copilot zrób osobne stepy dla każdej testowanej funkcji, przygotuj setup i teardown, postaraj się osiągnąć z 80% code coverage, zaktualizuj manifest o ten moduł testowy,
@copilot zrób osobne stepy dla każdej testowanej funkcji, przygotuj setup i teardown, postaraj się osiągnąć z 80% code coverage, zaktualizuj manifest o ten moduł testowy,
Gotowe w commitcie 3ae8980.
Wprowadziłem osobne kroki testowe dla każdej funkcji publicznego API (create, destroy, write, read, capacity, size, available_space, peek, discard, clear, is_full, is_empty) oraz wspólne setup/teardown uruchamiane dla kroków wymagających pierścienia. Dodatkowo zaktualizowałem manifest.dmm o wpis test_dm_sw_ring i dodałem generowanie $version-available test_dm_sw_ring w workflow release, żeby manifest był spójny z modułem testowym.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue required a dedicated
tests/DMF module that executesdm_sw_ringthrough its exported API surface. This PR adds that module and integrates it into the repository build so test DMF is produced alongside the main module.Build wiring
add_subdirectory(tests)in rootCMakeLists.txt.tests/CMakeLists.txtdefiningtest_dm_sw_ringas a DMOD executable and linking againstdm_sw_ring_if.New API-level test module
tests/test_dm_sw_ring.c.create,destroywrite,read,peek,discard,clearcapacity,size,available_space,is_full,is_emptyManifest and release metadata
manifest.dmmto includetest_dm_sw_ringmodule entry.versions.dmmto include$version-available test_dm_sw_ring ....Resulting artifact behavior
test_dm_sw_ring.dmffrom the newtests/module, matching expected module layout for API test execution.