From 01f7b16dff00320897dd75c36a7a054cf1eacba3 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jeremy@system76.com>
Date: Tue, 13 Nov 2018 21:24:49 -0700
Subject: [PATCH] Build tests and install

---
 recipes/relibc/recipe.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes/relibc/recipe.sh b/recipes/relibc/recipe.sh
index a77135ce4..fe790d51e 100644
--- a/recipes/relibc/recipe.sh
+++ b/recipes/relibc/recipe.sh
@@ -2,11 +2,14 @@ GIT=https://gitlab.redox-os.org/redox-os/relibc.git
 
 function recipe_build {
     make
+    make -C tests
     skip=1
 }
 
 function recipe_stage {
     dest="$(realpath $1)"
     make DESTDIR="$dest" install
+    mkdir -pv "$dest/share/relibc"
+    cp -rv "tests" "$dest/share/relibc/tests"
     skip=1
 }
-- 
GitLab