| 259 | } |
| 260 | |
| 261 | int main(int argc, char *argv[]) |
| 262 | { |
| 263 | bool ok = true; |
| 264 | /* Dummy for migration hooks */ |
| 265 | struct lightningd *ld = tal(NULL, struct lightningd); |
| 266 | |
| 267 | common_setup(argv[0]); |
| 268 | ld->config = test_config; |
| 269 | |
| 270 | /* We do a runtime test here, so we still check compile! */ |
| 271 | if (HAVE_SQLITE3) { |
| 272 | ok &= test_empty_db_migrate(ld); |
| 273 | ok &= test_vars(ld); |
| 274 | ok &= test_primitives(); |
| 275 | ok &= test_manip_columns(); |
| 276 | } |
| 277 | |
| 278 | tal_free(ld); |
| 279 | common_shutdown(); |
| 280 | return !ok; |
| 281 | } |
nothing calls this directly
no test coverage detected