diff options
author | tfarina <tfarina@chromium.org> | 2014-09-30 08:17:10 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-30 08:17:11 -0700 |
commit | fffa16cc277c286687b0f42a7cc87217dd94938e (patch) | |
tree | 3ca907bb6e5efb91a7d54f86cf2b053c75839514 /tests/PaintTest.cpp | |
parent | 1b466f7e21004257afeb35cd008768e3b541dca9 (diff) |
webtry: Only create sqlite3 tables if they don't exist yet.
Otherwise it will through an error like the following:
2014/09/28 21:22:24 Info: status creating sqlite table for sources:
"table source_images already exists"
2014/09/28 21:22:24 Info: status creating sqlite table for webtry:
"table webtry already exists"
2014/09/28 21:22:24 Info: status creating sqlite table for workspace:
"table workspace already exists"
2014/09/28 21:22:24 Info: status creating sqlite table for workspace
try: "table workspacetry already exists"
To test locally the following was done:
$ ./gyp_skia gyp/webtry.gyp gyp/most.gyp -Dskia_gpu=0
$ ninja -C out/Debug webtry
$ cd experimental/webtry
$ go get -d
$ go build webtry.go
$ ./webtry
$ google-chrome http://localhost:8000
Expected: see no more the above messages.
BUG=None
TEST=see above
R=stephana@google.com, jcgregorio@google.com
Author: tfarina@chromium.org
Review URL: https://codereview.chromium.org/613593002
Diffstat (limited to 'tests/PaintTest.cpp')
0 files changed, 0 insertions, 0 deletions