diff options
author | EuAndreh <eu@euandre.org> | 2023-11-13 09:24:34 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-11-13 09:24:34 -0300 |
commit | d0ac6ed36f42dca602e8b06375481eb1e31c368a (patch) | |
tree | 8fa6504e2daa36ba3553f980540f90776cb0ef7e /tests/assert-clean.sh | |
parent | tests/assert-*.sh: Allow tests to run independently from "all" and from each ... (diff) | |
download | papod-d0ac6ed36f42dca602e8b06375481eb1e31c368a.tar.gz papod-d0ac6ed36f42dca602e8b06375481eb1e31c368a.tar.xz |
tests/assert-*.sh: Reuse rebuilt assets for tests
Diffstat (limited to 'tests/assert-clean.sh')
-rwxr-xr-x | tests/assert-clean.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/assert-clean.sh b/tests/assert-clean.sh index a3ca350..540cea6 100755 --- a/tests/assert-clean.sh +++ b/tests/assert-clean.sh @@ -12,16 +12,13 @@ fi R="$(mkdtemp)" trap 'rm -rf "$R"' EXIT -git clone -q --depth=1 file://"$PWD" "$R" +cp -pR ./ "$R" cd "$R" { - make - make clean -} 1>/dev/null 2>&1 + make -s clean -{ printf '%s: "clean" target deletes all derived assets...' \ "$(yellow "$0")" |