Skip to content

Prepare ActonDB before DB tests#2863

Open
plajjan wants to merge 1 commit into
mainfrom
make-test-db-backend-prereq
Open

Prepare ActonDB before DB tests#2863
plajjan wants to merge 1 commit into
mainfrom
make-test-db-backend-prereq

Conversation

@plajjan
Copy link
Copy Markdown
Contributor

@plajjan plajjan commented Jun 3, 2026

The DB tests compile programs with --db, so base needs the ActonDB artifact from the copied dist/backend package. The default make test path could reach those tests after only copying dist/backend/Build.act, which leaves Zig with a dependency package that has no ActonDB artifact.

This makes the DB test target prepare dist/bin/actondb, and makes that binary target copy the backend package before invoking Zig.

The local DB test target compiles programs with --db.

That makes base link the ActonDB artifact through the dist/backend package.

Make test-rts-db depend on dist/bin/actondb.

Make that binary target prepare the copied backend package before invoking Zig.
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.

1 participant