patch (tests): update output path for tests

variables. who knew they would be so handy?
This commit is contained in:
2022-08-21 18:39:39 +05:30
parent a592500040
commit 639a8847e7
2 changed files with 4 additions and 4 deletions

4
test/.gitignore vendored
View File

@@ -1,2 +1,2 @@
test-output
stdouterr
/output
/stdouterr

View File

@@ -19,8 +19,8 @@ curr_hash=$(get_last_commit)
script_dir="$(realpath -e $(dirname "${0}") 2>/dev/null)"
project_root=${script_dir%/*} # remove everything after the final `/`
test_dir="${project_root}/dev/tests.d"
out_dir="${project_root}/dev/test-output"
test_dir="${project_root}/test"
out_dir="${test_dir}/output"
[[ ! -d "${out_dir}" ]] && mkdir -p "${out_dir}"
src_dir="${project_root}/src"