From: Matt Joiner Date: Tue, 27 Jun 2023 01:36:54 +0000 (+1000) Subject: Add sqlite storage build conditions to sqlite storage closed test X-Git-Url: http://www.git.stargrave.org/?p=btrtrc.git;a=commitdiff_plain;h=e88aae7642975e17c158f26643faebd463ae39c5 Add sqlite storage build conditions to sqlite storage closed test Should fix test build failure to build when CGO is disabled. --- diff --git a/test/misc_test.go b/test/sqlite_test.go similarity index 89% rename from test/misc_test.go rename to test/sqlite_test.go index 4661c1a8..437499d4 100644 --- a/test/misc_test.go +++ b/test/sqlite_test.go @@ -1,3 +1,9 @@ +// This infernal language makes me copy conditional compilation expressions around. This test should +// run if sqlite storage is enabled, period. + +//go:build cgo +// +build cgo + package test import (