-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (27 loc) · 1.9 KB
/
Copy pathMakefile
File metadata and controls
40 lines (27 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
SBCL=sbcl
load:
$(SBCL) --load ch.lisp
unit-tests:
$(SBCL) --load ch.lisp --load ch-test.lisp --eval '(ch-tests:run-unit-tests)' --eval '(ch-tests:print-test-summary)' --quit
integration-tests:
$(SBCL) --load ch.lisp --load ch-test.lisp --eval '(ch-tests:run-integration-tests)' --eval '(ch-tests:print-test-summary)' --quit
performance-tests:
$(SBCL) --load ch.lisp --load ch-test.lisp --eval '(ch-tests:run-performance-tests)' --eval '(ch-tests:print-test-summary)' --quit
all-tests:
$(SBCL) --load ch.lisp --load ch-test.lisp --eval '(ch-tests:run-all-tests)' --quit
basic-connection:
$(SBCL) --load ch.lisp --eval '(handler-case (load "examples/basic-connection.lisp") (error (e) (format t "ERROR: ~A~%" e) (sb-ext:exit :code 1)))' --quit
data-insertion:
$(SBCL) --load ch.lisp --eval '(handler-case (load "examples/data-insertion.lisp") (error (e) (format t "ERROR: ~A~%" e) (sb-ext:exit :code 1)))' --quit
formats:
$(SBCL) --load ch.lisp --eval '(handler-case (load "examples/formats.lisp") (error (e) (format t "ERROR: ~A~%" e) (sb-ext:exit :code 1)))' --quit
error-handling:
$(SBCL) --load ch.lisp --eval '(handler-case (load "examples/error-handling.lisp") (error (e) (format t "ERROR: ~A~%" e) (sb-ext:exit :code 1)))' --quit
clickhouse-cloud:
$(SBCL) --load ch.lisp --eval '(handler-case (load "examples/clickhouse-cloud.lisp") (error (e) (format t "ERROR: ~A~%" e) (sb-ext:exit :code 1)))' --quit
clickhouse-cloud-real:
$(SBCL) --load ch.lisp --eval '(handler-case (load "examples/clickhouse-cloud-real.lisp") (error (e) (format t "ERROR: ~A~%" e) (sb-ext:exit :code 1)))' --quit
performance:
$(SBCL) --load ch.lisp --eval '(handler-case (load "examples/performance.lisp") (error (e) (format t "ERROR: ~A~%" e) (sb-ext:exit :code 1)))' --quit
analytics:
$(SBCL) --load ch.lisp --eval '(handler-case (load "examples/analytics.lisp") (error (e) (format t "ERROR: ~A~%" e) (sb-ext:exit :code 1)))' --quit