redox/recipes/tests/relibc-tests/recipe.toml
2025-09-02 15:31:26 +00:00

17 lines
454 B
TOML

[source]
git = "https://gitlab.redox-os.org/redox-os/relibc.git"
branch = "master"
[build]
template = "custom"
script = """
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
pushd tests
export CARGO_TEST="${COOKBOOK_CARGO}"
export NATIVE_RELIBC=0 # set 0 to link against relibc
"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" all bins_verify/relibc-tests
popd
mkdir -pv "${COOKBOOK_STAGE}/share/relibc"
cp -rv "tests" "${COOKBOOK_STAGE}/share/relibc/tests"
"""