Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@t-mat
Copy link
Contributor

@t-mat t-mat commented Nov 9, 2022

Freestanding test is intended to run on only Linux x86_64 platform. Because it uses Linux x86_64 syscall directly to avoid any dependency to the standard library.

This changeset adds platform checking code to tests/Makefile to avoid unintended error in non-Linux x86_64 platforms.

This changeset resolves issue #1186

Freestanding test is intended to run on only Linux x86_64 platform.
Because it uses Linux x86_64 syscall directly to avoid any dependency to the standard library.

This changeset adds platform checking code to tests/Makefile to avoid unintended
error in non-Linux x86_64 platforms.

This changeset resolves issue lz4#1186
@tristan957
Copy link
Contributor

See my PR for Meson fix.

@t-mat
Copy link
Contributor Author

t-mat commented Nov 21, 2022

Note about plan of consequent PR:
As an adaptation of #1184, I'll add test-freestanding to the all of tests/Makefile.
Since we have macos platform, it'll be safeguard of same issue.

@Cyan4973 Cyan4973 merged commit d879e7f into lz4:dev Dec 2, 2022
t-mat added a commit to t-mat/lz4 that referenced this pull request Dec 3, 2022
Follow up of lz4#1184 and lz4#1187

Now `tests/Makefile` contains

- `freestanding` as a member of `all`.
- `test-freestanding` as a member of `test`.

Note that as for `all32` (`-m32`) builds, `test-freestanding` skips its actual test.
t-mat added a commit to t-mat/lz4 that referenced this pull request Dec 3, 2022
Follow up of lz4#1184 and lz4#1187

Now `tests/Makefile` contains

- `freestanding` as a member of `all`.
- `test-freestanding` as a member of `test`.

Note that as for `all32` (`-m32`) builds, `test-freestanding` skips its actual test.
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