From 2f4a3b7283834735a91b4ee4a9542d7d591ea93d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Sun, 16 Dec 2018 12:41:54 +0100 Subject: [PATCH] Updated Vim test running script --- .vim.local/scripts/vimmake.test | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.vim.local/scripts/vimmake.test b/.vim.local/scripts/vimmake.test index ea3098d..6fd5e37 100755 --- a/.vim.local/scripts/vimmake.test +++ b/.vim.local/scripts/vimmake.test @@ -1,14 +1,14 @@ #!/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 \ + 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 - LD_LIBRARY_PATH=./output \ - ./output/run-all-tests 2>&1 \ + 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