Exemple #1
0
int main(int argc, char **argv)
{
	(void) argc;
	(void) argv;

	TRACE_LEVEL_SET(TRACE_ALL);
	TEST_INITIALIZE();

	eventq = eventQCreate("/eventq", 8, sizeof(bcm_gas_event_t));

#ifdef PRO_GAS_INCOMING
	testProGasIncoming();
#else
	/* run test multiple times */
	testProGasMaxInstance();
	testProGasMaxInstance();
	testProGasMaxInstance();

	testProGas();
#endif

	eventQDelete(eventq);

	/* disable wlan */
	wlFree();

	/* terminate dispatcher */
	dspFree();

	TEST_FINALIZE();
	return 0;
}
Exemple #2
0
int main(int argc, char **argv)
{
	(void) argc;
	(void) argv;

	TRACE_LEVEL_SET(TRACE_ALL);
	TEST_INITIALIZE();

	testEncode();
	testDecode();
	testDecodeCorruptLength();

	TEST_FINALIZE();
	return 0;
}