Index: golden/go/skiacorrectness/main.go |
diff --git a/golden/go/skiacorrectness/main.go b/golden/go/skiacorrectness/main.go |
index c1493e42438caec81896ca5519854c8422cbad1f..186ca7c210b52b79df981b3aad18ccb7e1ddbb5d 100644 |
--- a/golden/go/skiacorrectness/main.go |
+++ b/golden/go/skiacorrectness/main.go |
@@ -36,7 +36,6 @@ var ( |
imageDir = flag.String("image_dir", "/tmp/imagedir", "What directory to store test and diff images in.") |
gsBucketName = flag.String("gs_bucket", "chromium-skia-gm", "Name of the google storage bucket that holds uploaded images.") |
dbConnStr = flag.String("db_conn_string", defaultDbConnStr, "MySQL connection string for backend database. If 'local' is false the password in this string will be substituted via the metadata server.") |
- sqlitePath = flag.String("sqlite_path", "./golden.db", "Filepath of the embedded SQLite database. Requires 'local' to be set to true and 'mysql_conn' to be empty to take effect.") |
doOauth = flag.Bool("oauth", true, "Run through the OAuth 2.0 flow on startup, otherwise use a GCE service account.") |
oauthCacheFile = flag.String("oauth_cache_file", "/home/perf/google_storage_token.data", "Path to the file where to cache cache the oauth credentials.") |
) |
@@ -240,7 +239,7 @@ func main() { |
// Get the expecations storage, the filediff storage and the tilestore. |
diffStore := filediffstore.NewFileDiffStore(client, *imageDir, *gsBucketName, filediffstore.DEFAULT_GS_IMG_DIR_NAME, filediffstore.RECOMMENDED_WORKER_POOL_SIZE) |
- vdb := database.NewVersionedDB(db.GetConfig(*dbConnStr, *sqlitePath, *local)) |
+ vdb := database.NewVersionedDB(db.GetConfig(*dbConnStr, *local)) |
expStore := expstorage.NewCachingExpectationStore(expstorage.NewSQLExpectationStore(vdb)) |
tileStore := filetilestore.NewFileTileStore(*tileStoreDir, "golden", -1) |