Skip to content

Commit

Permalink
Output DuckDB source_id (commit hash) before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ak-coram committed Jan 10, 2025
1 parent 3469411 commit 58d0747
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion duckdb.asd
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,13 @@
:depends-on (#:duckdb
#:fiveam)
:components ((:file "duckdb-test"))
:perform (test-op (o c) (symbol-call :fiveam '#:run! :duckdb)))
:perform
(test-op (o c)
(duckdb:with-transient-connection
(format t "~%DuckDB source_id: ~A~%"
(duckdb:get-result (duckdb:q "PRAGMA version")
'source-id 0)))
(symbol-call :fiveam '#:run! :duckdb)))

(asdf:defsystem #:duckdb/benchmark
:depends-on (#:duckdb
Expand Down

0 comments on commit 58d0747

Please sign in to comment.