mirror of
https://github.com/restic/restic.git
synced 2026-10-12 04:57:12 +00:00
Improve swift backend
This commit is contained in:
1 parent
5681d41f76
commit
fec89f95fb
9 files changed
+242
-277
No files matched your search
@@ -164,6 +164,13 @@ func (env *TravisEnvironment) RunTests() error {
|
||||
msg("S3 repository not available\n")
|
||||
}
|
||||
|
||||
// if the test swift service is available, make sure that the test is not skipped
|
||||
if os.Getenv("RESTIC_TEST_SWIFT") != "" {
|
||||
ensureTests = append(ensureTests, "restic/backend/swift.TestBackendSwift")
|
||||
} else {
|
||||
msg("Swift service not available\n")
|
||||
}
|
||||
|
||||
env.env["RESTIC_TEST_DISALLOW_SKIP"] = strings.Join(ensureTests, ",")
|
||||
|
||||
if *runCrossCompile {
|
||||
|
||||
Reference in new issue
Block a user