fix: fail test exec if at least one test fail
This commit is contained in:
parent
e5b23dad6b
commit
284ffbf68f
4 changed files with 24 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
helper_teardown() {
|
||||
echo "TEARDOWN"
|
||||
rm -rf ~/.tmux.conf
|
||||
rm -rf ~/.tmux/
|
||||
tmux kill-server >/dev/null 2>&1
|
||||
|
@ -11,6 +12,7 @@ helper_tearup_linux() {
|
|||
echo "NOT LINUX. Failed & exit."
|
||||
exit 1
|
||||
fi
|
||||
echo "TEARUP LINUX"
|
||||
|
||||
# install software
|
||||
sudo apt update -y
|
||||
|
@ -45,3 +47,8 @@ helper_print_success_and_exit() {
|
|||
helper_install_tpm_plugins() {
|
||||
bash -c "${HOME}/.tmux/plugins/tpm/scripts/install_plugins.sh install_plugins"
|
||||
}
|
||||
|
||||
helper_get_project_root_dir() {
|
||||
_current_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
echo "${_current_dir}/../"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue