summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gentoobrowse-api/unittests/testBugs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gentoobrowse-api/unittests/testBugs.cpp b/gentoobrowse-api/unittests/testBugs.cpp
index c285c1e..d29a6af 100644
--- a/gentoobrowse-api/unittests/testBugs.cpp
+++ b/gentoobrowse-api/unittests/testBugs.cpp
@@ -14,7 +14,9 @@ BOOST_AUTO_TEST_CASE( importBugHtml )
auto db = DB::ConnectionPtr(DB::MockDatabase::openConnectionTo("GentooBrowseAPI"));
SQL_REQUIRE_EQUAL("SELECT COUNT(*) FROM gentoobrowse.bugs", int64_t, expectedBugCount);
+#if DUMPDB
db->execute("COPY gentoobrowse.bugs TO '/tmp/bugs.tsv'");
+#endif
}
BOOST_AUTO_TEST_SUITE_END();