Vodafone Test Suite
Dependencies: mbed-rtos mbed HTTPClient VodafoneUSBModem
Diff: main.cpp
- Revision:
- 52:de6cc9d823ab
- Parent:
- 47:85c30274cc9b
- Child:
- 53:54b2d3a0c7bf
--- a/main.cpp Fri Sep 21 11:29:28 2012 +0000 +++ b/main.cpp Thu Oct 11 10:00:19 2012 +0000 @@ -66,7 +66,14 @@ size_t currentTime = time(NULL); fprintf(stdout,"Invocation time: %s\r\n",ctime(¤tTime)); - Thread testTask(test, NULL, osPriorityNormal, 1024 * 6); + //Thread testTask(test, NULL, osPriorityNormal, 1024 * 6); + + VodafoneUSBModem modem; + LOG("Constructing TestManager"); + LOG("Running tests."); + TestManager *m = new TestManager(&modem); + //m->runTestProfile(TESTS_AUTOMATED); + m->runTest(8); // this thread just waits and blinks leds periodically while(1) { led1 = !led1;