static void
test_all_spec_tests (TestSuite *suite)
{
   char resolved[PATH_MAX];

   test_framework_resolve_path (JSON_DIR "/with_transaction", resolved);

   install_json_test_suite_with_check (suite,
                                       resolved,
                                       test_with_transaction_cb,
                                       test_framework_skip_if_no_txns);
}
Beispiel #2
0
void
test_transactions_install (TestSuite *suite)
{
   char resolved[PATH_MAX];

   ASSERT (realpath (JSON_DIR "/transactions", resolved));
   install_json_test_suite_with_check (
      suite,
      resolved,
      test_transactions_cb,
      test_framework_skip_if_no_crypto,
      test_framework_skip_if_no_sessions,
      test_framework_skip_if_not_replset,
      test_framework_skip_if_max_wire_version_less_than_7);
}