| 564 | } |
| 565 | |
| 566 | int main(int argc, char *argv[]) |
| 567 | { |
| 568 | bool ok = true; |
| 569 | /* Dummy for migration hooks */ |
| 570 | struct lightningd *ld = tal(NULL, struct lightningd); |
| 571 | |
| 572 | common_setup(argv[0]); |
| 573 | ld->config = test_config; |
| 574 | |
| 575 | /* We do a runtime test here, so we still check compile! */ |
| 576 | if (HAVE_SQLITE3) { |
| 577 | ok &= test_empty_db_migrate(ld); |
| 578 | ok &= test_vars(ld); |
| 579 | ok &= test_primitives(); |
| 580 | ok &= test_manip_columns(); |
| 581 | } |
| 582 | |
| 583 | tal_free(ld); |
| 584 | common_shutdown(); |
| 585 | trace_cleanup(); |
| 586 | return !ok; |
| 587 | } |
nothing calls this directly
no test coverage detected