mirror of https://github.com/perkeep/perkeep.git
sqlite: skip test instead of failing when not compiled in
Change-Id: If7ef7308cdb7b6aec5490ec332d4dace7b7565a0
This commit is contained in:
parent
1577fc1e56
commit
511c3aad12
|
@ -28,6 +28,9 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestSQLiteKV(t *testing.T) {
|
func TestSQLiteKV(t *testing.T) {
|
||||||
|
if !CompiledIn() {
|
||||||
|
t.Skip(ErrNotCompiled.Error())
|
||||||
|
}
|
||||||
tmpDir, err := ioutil.TempDir("", "camlistore-sqlitekv_test")
|
tmpDir, err := ioutil.TempDir("", "camlistore-sqlitekv_test")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
|
|
Loading…
Reference in New Issue