From 29bf516500b64c5d503443d6b03d993fb996a16b Mon Sep 17 00:00:00 2001 From: Wildan M Date: Fri, 19 Dec 2025 22:28:35 +0700 Subject: [PATCH] Add recipe for os-test-relibc repo --- recipes/tests/os-test-result/recipe.toml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 recipes/tests/os-test-result/recipe.toml diff --git a/recipes/tests/os-test-result/recipe.toml b/recipes/tests/os-test-result/recipe.toml new file mode 100644 index 000000000..66f22c935 --- /dev/null +++ b/recipes/tests/os-test-result/recipe.toml @@ -0,0 +1,18 @@ +# Must be run on host: "make r.host:os-test-result" +[source] +git = "https://gitlab.redox-os.org/redox-os/os-test-relibc" +script = """ +# update automatically +cd relibc && git pull origin master +""" + +[build] +template = "custom" +script = """ +rsync -a --delete "${COOKBOOK_SOURCE}/" ./ +mkdir -p {COOKBOOK_STAGE}/share/os-test +./linux.sh +mv os-test/html ${COOKBOOK_STAGE}/share/os-test/html +mv os-test/out ${COOKBOOK_STAGE}/share/os-test/out +mv os-test/os-test.json ${COOKBOOK_STAGE}/share/os-test/os-test.json +"""