From: Mukund Sivaraman Date: Wed, 9 Dec 2015 13:45:46 +0000 (+0530) Subject: Disable the RBT benchmark unittest X-Git-Tag: v9.11.0a1~271 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=22f379298c5bfc557699e5387fdccf262b641ccd;p=thirdparty%2Fbind9.git Disable the RBT benchmark unittest --- diff --git a/lib/dns/tests/rbt_test.c b/lib/dns/tests/rbt_test.c index f2e054c746f..77640be6394 100644 --- a/lib/dns/tests/rbt_test.c +++ b/lib/dns/tests/rbt_test.c @@ -1308,6 +1308,13 @@ ATF_TC_BODY(rbt_insert_and_remove, tc) { dns_test_end(); } +#if 0 + +/* + * XXXMUKS: Don't delete this code. It is useful in benchmarking the + * RBT, but we don't require it as part of the unit test runs. + */ + ATF_TC(benchmark); ATF_TC_HEAD(benchmark, tc) { atf_tc_set_md_var(tc, "descr", "Benchmark RBT implementation"); @@ -1433,6 +1440,8 @@ ATF_TC_BODY(benchmark, tc) { dns_test_end(); } +#endif /* benchmark test */ + /* * Main */ @@ -1446,7 +1455,9 @@ ATF_TP_ADD_TCS(tp) { ATF_TP_ADD_TC(tp, rbt_remove); ATF_TP_ADD_TC(tp, rbt_remove_empty); ATF_TP_ADD_TC(tp, rbt_insert_and_remove); +#if 0 ATF_TP_ADD_TC(tp, benchmark); +#endif return (atf_no_error()); }