mirror of
https://github.com/neovim/neovim.git
synced 2024-12-26 14:11:15 -07:00
af23d17388
The new oldtest directory is in test/old/testdir. The reason for this is that many tests have hardcoded the parent directory name to be 'testdir'.
11 lines
185 B
Bash
11 lines
185 B
Bash
fail() {
|
|
local test_name="$1"
|
|
local message="$2"
|
|
|
|
: "${message:=Test $test_name failed}"
|
|
|
|
local full_msg="$test_name :: $message"
|
|
echo "Failed: $full_msg"
|
|
export FAILED=1
|
|
}
|