memgraph/tests/unit/test_lcp.lisp
Lovro Lugovic c15c16c577 Prevent result accumulation within LCP's tests
Summary:
PROVE:PLAN clears the previously stored results for the current suite (which is
the suite associated with the current package) and prevents "result
accumulation" (and the accompanying huge and partly outdated reports).

Reviewers: mtomic, teon.banek

Reviewed By: teon.banek

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1909
2019-03-11 13:12:39 +01:00

15 lines
470 B
Common Lisp

(require 'asdf)
(let ((home (or (uiop:getenvp "QUICKLISP_HOME")
(concatenate 'string (uiop:getenvp "HOME") "/quicklisp"))))
(load (concatenate 'string home "/setup.lisp")))
(ql:quickload "lcp/test")
(setf uiop:*image-entry-point*
(lambda ()
(let ((prove:*default-reporter* :fiveam))
(prove:plan nil)
(unless (prove:run-test-package :lcp-test)
(uiop:quit 1)))))
(uiop:dump-image "test_lcp" :executable t)