From 7453638e17f93761480ded6586ff1ba06195f463 Mon Sep 17 00:00:00 2001 From: Konrad Mrożek <kmrozek@comscore.com> Date: Tue, 17 Oct 2023 08:22:53 +0000 Subject: [PATCH] Print stack trace if an exception occured --- compiler/clojure-test.vim | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/compiler/clojure-test.vim b/compiler/clojure-test.vim index 02ea189..d7c4c02 100644 --- a/compiler/clojure-test.vim +++ b/compiler/clojure-test.vim @@ -9,9 +9,7 @@ command -nargs=* CompilerSet setlocal <args> endif -echomsg expand('<sfile>:p:h:h') +var clojure_test_deps = "'{:aliases {:clojure-test-vim {:extra-paths [\".cache/classes\"] :extra-deps {mrroman/clojure-test.vim {:local/root \"" .. expand('<sfile>:p:h:h') .. "/clojure\"}}}}}'" -var clojure_test_deps = "'{:aliases {:clojure-test-vim {:extra-paths [\"classes\"] :extra-deps {mrroman/clojure-test.vim {:local/root \"" .. expand('<sfile>:p:h:h') .. "/clojure\"}}}}}'" - -execute 'CompilerSet makeprg=clojure\ -Sdeps\ ' .. escape(clojure_test_deps, ' \|"') .. '\ -Mtest:clojure-test-vim\ -m\ test-runner' -CompilerSet errorformat& +execute 'CompilerSet makeprg=clojure\ -Sdeps\ ' .. escape(clojure_test_deps, ' \|"') .. '\ -Mtest:clojure-test-vim\ --report\ stderr\ -m\ test-runner\ -test-file' +CompilerSet errorformat=%EERROR:%f:%l:%m,%CERROR-CONTINUE:%m,%WFAIL:%f:%l:%m,%CFAIL-CONTINUE:%m -- Gitblit v1.9.3