aboutsummaryrefslogtreecommitdiff
path: root/migrate
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-06-22 19:05:08 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-06-26 14:12:12 +0300
commit105524ed96f162b43c0735a65fea284d07356aa2 (patch)
treef083c65946faeb3654f9108112143ba46cee3656 /migrate
parent8e54ae94ce44d57b49b35269f006fe2bf07ec13d (diff)
Adapt to merging of package external tests, examples, and benchmarks into typed tests
Diffstat (limited to 'migrate')
-rw-r--r--migrate/migrate.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/migrate/migrate.cxx b/migrate/migrate.cxx
index feac683..0ef6096 100644
--- a/migrate/migrate.cxx
+++ b/migrate/migrate.cxx
@@ -237,6 +237,17 @@ package_migrate_v18 ([] (database& db)
});
//#endif
+// Merging the package examples and benchmarks tables into the package tests
+// table is a bit hairy. Thus, we won't bother with that and just cleanup the
+// amended package tests table, relying on the loader to fill it in a short
+// time.
+//
+static const package_migration_entry<19>
+package_migrate_v19 ([] (database& db)
+{
+ db.execute ("DELETE from package_tests");
+});
+
// main() function
//
int