14 lines
448 B
Bash
Executable file
14 lines
448 B
Bash
Executable file
#!/bin/bash
|
|
if make -j 8 all CONFIG=.vim.local/scripts/build-config; then
|
|
if [ "$VIM_RELDIR" = "tests" ] && [ "$VIM_FILEEXT" = ".cc" ]; then
|
|
if [ -f "output/fast/test-$VIM_FILENOEXT" ]; then
|
|
LD_LIBRARY_PATH=./output \
|
|
./output/test-$VIM_FILENOEXT 2>&1 \
|
|
| sed -e s/"$VIM_FILENAME"/'tests\/'"$VIM_FILENAME"/g
|
|
exit 0
|
|
fi
|
|
fi
|
|
LD_LIBRARY_PATH=./output \
|
|
./output/run-all-tests 2>&1 \
|
|
| sed -e 's/^\([a-z\-]\+\.cc\)/tests\/\1/g'
|
|
fi
|