mirror of
https://github.com/kevinnlsamuel/stdouterr.git
synced 2025-12-06 09:55:58 +05:30
patch (tests): update output path for tests
variables. who knew they would be so handy?
This commit is contained in:
4
test/.gitignore
vendored
4
test/.gitignore
vendored
@@ -1,2 +1,2 @@
|
|||||||
test-output
|
/output
|
||||||
stdouterr
|
/stdouterr
|
||||||
|
|||||||
@@ -19,8 +19,8 @@ curr_hash=$(get_last_commit)
|
|||||||
script_dir="$(realpath -e $(dirname "${0}") 2>/dev/null)"
|
script_dir="$(realpath -e $(dirname "${0}") 2>/dev/null)"
|
||||||
project_root=${script_dir%/*} # remove everything after the final `/`
|
project_root=${script_dir%/*} # remove everything after the final `/`
|
||||||
|
|
||||||
test_dir="${project_root}/dev/tests.d"
|
test_dir="${project_root}/test"
|
||||||
out_dir="${project_root}/dev/test-output"
|
out_dir="${test_dir}/output"
|
||||||
[[ ! -d "${out_dir}" ]] && mkdir -p "${out_dir}"
|
[[ ! -d "${out_dir}" ]] && mkdir -p "${out_dir}"
|
||||||
src_dir="${project_root}/src"
|
src_dir="${project_root}/src"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user