memgraph/tests/unit/test_lcp.lisp
Lovro Lugovic a6a621e08b Add LCP tests
Summary: Create an ASDF system for LCP. Add LCP tests.

Reviewers: teon.banek, mtomic

Reviewed By: teon.banek

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1645
2018-10-15 11:52:20 +02:00

14 lines
443 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))
(unless (prove:run-test-package :lcp-test)
(uiop:quit 1)))))
(uiop:dump-image "test_lcp" :executable t)