aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-01-23 23:05:45 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-01-23 23:06:22 +0100
commit5d88830d51100a69126e9aa31bbd50574923cb05 (patch)
tree7aa95ec3a2c6030bbed74f28559ace246ff2f164 /src
parent090cd109758193de04865d6d8968ece524ae689a (diff)
downloadrneovim-5d88830d51100a69126e9aa31bbd50574923cb05.tar.gz
rneovim-5d88830d51100a69126e9aa31bbd50574923cb05.tar.bz2
rneovim-5d88830d51100a69126e9aa31bbd50574923cb05.zip
test/old: always set $TMPDIR
On macOS $TMPDIR defaults to something very long. There's not really a need to support overriding the $TMPDIR used by tests, so always use the workspace-local path "Xtest-tmpdir".
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/testdir/Makefile b/src/nvim/testdir/Makefile
index 2dc42be652..5a6e03f182 100644
--- a/src/nvim/testdir/Makefile
+++ b/src/nvim/testdir/Makefile
@@ -7,12 +7,11 @@ ifeq ($(OS),Windows_NT)
else
NVIM_PRG ?= ../../../build/bin/nvim
endif
-TMPDIR ?= Xtest-tmpdir
SCRIPTSOURCE := ../../../runtime
export SHELL := sh
export NVIM_PRG := $(NVIM_PRG)
-export TMPDIR
+export TMPDIR := Xtest-tmpdir
SCRIPTS_DEFAULT = \
test14.out \