Skip to content

Move test helper binaries#4383

Merged
lifubang merged 1 commit into
opencontainers:mainfrom
kolyshkin:test-cmd
Dec 12, 2024
Merged

Move test helper binaries#4383
lifubang merged 1 commit into
opencontainers:mainfrom
kolyshkin:test-cmd

Conversation

@kolyshkin
Copy link
Copy Markdown
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 AkihiroSuda, cyphar and rata and removed request for AkihiroSuda and rata December 3, 2024 01:10
@kolyshkin kolyshkin marked this pull request as ready for review December 3, 2024 01:11
Comment thread tests/integration/helpers.bash Outdated
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
Copy Markdown
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
Copy Markdown
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 <kolyshkin@gmail.com>
@lifubang lifubang merged commit 986451c into opencontainers:main Dec 12, 2024
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