| 285 | } |
| 286 | |
| 287 | int main(int argc, char *argv[]) |
| 288 | { |
| 289 | bool ok = true; |
| 290 | /* Dummy for migration hooks */ |
| 291 | struct plugin *plugin = tal(NULL, struct plugin); |
| 292 | list_head_init(&plugin->js_list); |
| 293 | |
| 294 | common_setup(argv[0]); |
| 295 | |
| 296 | if (HAVE_SQLITE3) { |
| 297 | ok &= test_db_migrate(plugin); |
| 298 | } |
| 299 | |
| 300 | tal_free(plugin); |
| 301 | common_shutdown(); |
| 302 | return !ok; |
| 303 | } |
nothing calls this directly
no test coverage detected