예제 #1
0
파일: seq.c 프로젝트: BombShen/kbengine
TEST_END

int main(void) {
	return test_no_reentrancy(
	    test_seq_simple,
	    test_seq_threaded);
}
예제 #2
0
TEST_END

int
main(void) {
	return test_no_reentrancy(
		test_deferred,
		test_max_background_threads);
}
예제 #3
0
파일: tsd.c 프로젝트: IIJ-NetBSD/netbsd-src
TEST_END

int
main(void) {
	/* Ensure tsd bootstrapped. */
	if (nallocx(1, 0) == 0) {
		malloc_printf("Initialization error");
		return test_status_fail;
	}

	return test_no_reentrancy(
	    test_tsd_main_thread,
	    test_tsd_sub_thread,
	    test_tsd_reincarnation);
}
예제 #4
0
파일: hook.c 프로젝트: BombShen/kbengine
TEST_END

int
main(void) {
	/* We assert on call counts. */
	return test_no_reentrancy(
	    test_hooks_basic,
	    test_hooks_null,
	    test_hooks_remove,
	    test_hooks_alloc_simple,
	    test_hooks_dalloc_simple,
	    test_hooks_expand_simple,
	    test_hooks_realloc_as_malloc_or_free,
	    test_hooks_realloc,
	    test_hooks_rallocx);
}