corelib/.vim.local/scripts/vimmake.test

15 lines
527 B
Text
Raw Normal View History

#!/bin/bash
if make -j 8 all CONFIG=.vim.local/scripts/build-config; then
if [ "$VIM_RELDIR" = "tests" ] && [ "$VIM_FILEEXT" = ".cc" ]; then
2018-12-16 12:41:54 +01:00
if [ -f "output/linux/test-$VIM_FILENOEXT" ]; then
LD_LIBRARY_PATH=./output/linux:./output/linux/cppunit/lib \
./output/linux/test-$VIM_FILENOEXT 2>&1 \
| sed -e s/"$VIM_FILENAME"/'tests\/'"$VIM_FILENAME"/g
exit 0
fi
fi
2018-12-16 12:41:54 +01:00
LD_LIBRARY_PATH=./output/linux:./output/linux/cppunit/lib \
./output/linux/run-all-tests 2>&1 \
| sed -e 's/^\([a-z\-]\+\.cc\)/tests\/\1/g'
fi