Compare commits

...

2 Commits

Author SHA1 Message Date
8526bdb4e3 Export CTEST_OUTPUT_ON_FAILURE=1
When a `ctest` run contains a failed test, actually print the `stdout`
and `stderr` output.
2019-08-22 21:32:15 +01:00
47f821e80a Don't unset tmux option when not in tmux 2019-08-22 21:31:56 +01:00
2 changed files with 5 additions and 1 deletions

View File

@ -110,7 +110,9 @@ fresh_line_one() {
fi fi
# Unset vim/tmux navigate flag to handle C-z and multiple vim jobs. # Unset vim/tmux navigate flag to handle C-z and multiple vim jobs.
tmux set-window-option -u @vim$TMUX_PANE if [[ ! -z "$TMUX" ]]; then
tmux set-window-option -u @vim$TMUX_PANE
fi
# If a virtualenv is enabled, display it's basename # If a virtualenv is enabled, display it's basename
if [[ ! -z "$VIRTUAL_ENV" ]]; then if [[ ! -z "$VIRTUAL_ENV" ]]; then

2
zshenv
View File

@ -50,6 +50,8 @@ export LESS_TERMCAP_ue=`printf "\e[0m"`
export GTEST_COLOR=yes export GTEST_COLOR=yes
# Allow completions for GoogleTest break on failure # Allow completions for GoogleTest break on failure
export GTEST_BREAK_ON_FAILURE=0 export GTEST_BREAK_ON_FAILURE=0
# Force CTest to verbose output
export CTEST_OUTPUT_ON_FAILURE=1
# Disable virtualenv prompt # Disable virtualenv prompt
VIRTUAL_ENV_DISABLE_PROMPT=1 VIRTUAL_ENV_DISABLE_PROMPT=1