Skip to content
Snippets Groups Projects
Verified Commit 5e756a5d authored by Jeremy Soller's avatar Jeremy Soller
Browse files

relibc-tests: convert to toml

parent 7aba4e66
No related branches found
No related tags found
No related merge requests found
GIT=https://gitlab.redox-os.org/redox-os/relibc.git
function recipe_build {
"$REDOX_MAKE" NATIVE_RELIBC=1 -C tests -j"$($NPROC)"
skip=1
}
function recipe_stage {
dest="$(realpath $1)"
mkdir -pv "$dest/share/relibc"
cp -rv "tests" "$dest/share/relibc/tests"
skip=1
}
[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=1
"${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"
"""
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment