Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move test helper binaries #4383

Merged
merged 1 commit into from
Dec 12, 2024
Merged

Move test helper binaries #4383

merged 1 commit into from
Dec 12, 2024

Conversation

kolyshkin
Copy link
Contributor

This is a followup to #4377, originally inspired by this comment.

Instead of having every test helper binary in its own directory, let's use tests/cmd/bin as a destination for all of them.

This allows for simpler setup/cleanup.

@kolyshkin kolyshkin force-pushed the test-cmd branch 2 times, most recently from 3894675 to 23cfc7d Compare August 22, 2024 02:17
@kolyshkin kolyshkin requested review from rata, AkihiroSuda and cyphar and removed request for rata and AkihiroSuda December 3, 2024 01:10
@kolyshkin kolyshkin marked this pull request as ready for review December 3, 2024 01:11
PIDFD_KILL="${INTEGRATION_ROOT}/../../tests/cmd/pidfd-kill/pidfd-kill"
REMAP_ROOTFS="${INTEGRATION_ROOT}/../../tests/cmd/remap-rootfs/remap-rootfs"

# Path to binaries compiled from packages in tests/cmd by "make test-helpers").
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:s/make test-helpers/make test-binaries/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, fixed!

Instead of having every test helper binary in its own directory, let's
use /tests/cmd/_bin as a destination directory.

This allows for simpler setup/cleanup.

Signed-off-by: Kir Kolyshkin <[email protected]>
@lifubang lifubang merged commit 986451c into opencontainers:main Dec 12, 2024
40 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