Skip to content

chore(test): remove the legacy C unit test suite - #2724

Merged
fslongjin merged 1 commit into
DragonOS-Community:masterfrom
fslongjin:codex/remove-legacy-c-unitest
Nov 28, 2026
Merged

fslongjin merged 1 commit into
DragonOS-Community:masterfrom
fslongjin:codex/remove-legacy-c-unitest

Conversation

@fslongjin

Copy link
Copy Markdown
Member

Summary

  • Remove the standalone user/apps/c_unitest suite and its Nix and DADK package registrations, including the default and Ubuntu 24.04 rootfs profiles.
  • Bump the generated sysroot layout version so an incremental DADK install clears previously installed legacy binaries while retaining the DADK build cache. Existing disk images are updated in place and may retain those binaries until rebuilt.
  • Point contributor and syscall debugging guides to dunitest. The dunitest and gVisor registrations are unchanged.

Validation

  • Resolved both x86_64 rootfs profiles, parsed their task lists, and ran DADK 0.6.1 output cleanup for each profile.
  • Exercised the layout 2 to 3 transition through make dadk_run with a stub DADK and an existing sysroot. The legacy binary was removed, the build cache was preserved, and the remaining app install step ran.
  • git diff --check passed. A full Nix image build was not run locally.

Remove the standalone C test programs and unregister their package
from Nix and both DADK rootfs profiles. Invalidate the generated
DADK sysroot layout so an upgrade clears previously installed test
binaries while retaining the build cache.

Point the contributor guidance and syscall debugging guides to the
maintained dunitest suite.

Signed-off-by: longjin <longjin@dragonos.org>
@github-actions github-actions Bot added the test Unitest/User space test label Nov 28, 2026
@fslongjin
fslongjin merged commit c08f38e into DragonOS-Community:master Nov 28, 2026
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Unitest/User space test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant