int main(int argc, char *argv[])
{
	int rc;
	const struct CMUnitTest tests[] = {
		cmocka_unit_test(parse_abouble_basic),
		cmocka_unit_test(parse_abouble_finderinfo1),
		cmocka_unit_test(parse_abouble_finderinfo2),
		cmocka_unit_test(parse_abouble_finderinfo3),
		cmocka_unit_test(parse_abouble_name),
		cmocka_unit_test(parse_abouble_date1),
		cmocka_unit_test(parse_abouble_date2),
	};

	if (argc == 2) {
		cmocka_set_test_filter(argv[1]);
	}
	cmocka_set_message_output(CM_OUTPUT_SUBUNIT);

	rc = cmocka_run_group_tests(tests,
				    setup_talloc_context,
				    teardown_talloc_context);

	return rc;
}
int main(int argc, char *argv[])
{
	int rc;
	const struct CMUnitTest tests[] = {
		cmocka_unit_test(parse_abouble_basic),
		cmocka_unit_test(parse_abouble_finderinfo1),
		cmocka_unit_test(parse_abouble_finderinfo2),
		cmocka_unit_test(parse_abouble_finderinfo3),
		cmocka_unit_test(parse_abouble_name),
		cmocka_unit_test(parse_abouble_date1),
		cmocka_unit_test(parse_abouble_date2),
	};

	if (argc == 2) {
		cmocka_set_test_filter(argv[1]);
	}
	cmocka_set_message_output(CM_OUTPUT_SUBUNIT);

	rc = cmocka_run_group_tests(tests,
				    setup_talloc_context,
				    teardown_talloc_context);

	return rc;
}