Commit Graph

80 Commits (7e5dfeef32f91617c5d91e029e375c8604db3027)

Author SHA1 Message Date
Przemek Wirkus 567f4a170f Refactoring of report exporter to support HTML and JUNIT. Modified host tests to support serial and copy issues in more generic way. Copy in test suite and serial in host_test control flow. 2014-10-15 11:33:37 +01:00
Przemek Wirkus 2ab8ad9b47 Feature: Device detection via serial - part 4
Interrupt In test pinology for NUCLEO changed
2014-09-24 14:58:14 +01:00
Przemek Wirkus da412da174 Feature: Device detection via serial - part 3 2014-09-24 14:58:10 +01:00
Przemek Wirkus 6690db1444 Feature: Device detection via serial - part 2 2014-09-24 14:58:07 +01:00
Przemek Wirkus e3e49cb67d Small improvements to ETH test cases - handle not open socket on host test side 2014-09-24 14:57:52 +01:00
Przemek Wirkus 466c3b4d75 Added stdio receive time in host test prints 2014-09-22 10:43:21 +01:00
Przemek Wirkus ea59d77d85 Small improvements to RTC test to check time elapsed and if timestamp is not zero 2014-09-22 10:06:39 +01:00
Przemek Wirkus f92bd88f98 Removed small typo from host test 2014-09-16 14:40:25 +01:00
Przemek Wirkus 9fb3c45f64 Small change in repamble readline comparision function 2014-09-16 10:53:24 +01:00
Przemek Wirkus 63ee01bdd9 Modified host tests to use serial.realine() function to avoid extra timeouts during tests (test will work faster and will be more reliable) 2014-09-15 17:44:30 +01:00
Przemek Wirkus 0748ef4a2a Modified host tests to use serial.realine() function to avoid extra timeouts during tests (test will work faster and will be more reliable) 2014-09-15 17:44:26 +01:00
Przemek Wirkus 8c77115d55 Modified host tests to use serial.realine() function to avoid extra timeouts during tests (test will work faster and will be more reliable) 2014-09-15 17:44:22 +01:00
Przemek Wirkus 97f526cc8c Modified DEV_NULL host test to take under consideration blocking serial port API 2014-09-11 13:38:58 +01:00
Przemek Wirkus 2efe99a100 Global serial read changed to 1 second 2014-09-11 13:28:10 +01:00
Przemek Wirkus 29dbc34202 Changed default serial timeout for host test 2014-09-11 13:28:06 +01:00
Przemek Wirkus e066b84f1c For timer / timeout related tests deviation changed to +/- 10% - some boards can run on not precise quartz / RC oscilators 2014-09-10 12:44:27 +01:00
Przemek Wirkus eec7671fa0 For timer / timeout related tests deviation changed to +/- 10% - some boards can run on not precise quartz / RC oscilators 2014-09-08 11:49:04 +01:00
Przemek Wirkus 41c7771268 Fixed small typu and added print to RTC host test 2014-09-05 11:51:21 +01:00
Przemek Wirkus beed8358f9 Improvements to RTC's host_test test case 2014-09-04 15:30:08 +01:00
Przemek Wirkus c12b5de37b Fixed NET_(4,6,13) client tests so after reset we wait for device to send print it's ready
Fixed small print issue with -V option
2014-09-04 10:10:55 +01:00
Przemek Wirkus 2df3125ca4 Fixed missing STDOUT in Echo test
Fixed missing opening and closing brackets in {{start}}
2014-09-03 15:01:19 +01:00
Przemek Wirkus 61b1d75032 Added dynamic test printing 2014-09-03 14:27:53 +01:00
Przemek Wirkus 4e3b149f79 Modified STDIO and ECHO so they use rpeamble to initialize communication 2014-09-03 13:33:54 +01:00
Przemek Wirkus 828ba90dcd Added 'real-time' test result printing when tests are executed (view test execution progress using option -V) 2014-09-03 13:33:50 +01:00
Przemek Wirkus d71a7579b4 Removed from Hello World target test success notification 2014-09-02 15:50:24 +01:00
Przemek Wirkus 1bdc4b8046 Simplified HelloWorld test to detect different types of ragteId (they can have different length) 2014-09-02 15:24:51 +01:00
Przemek Wirkus b481bc4319 Modified test EXAMPLE_1 to fail if can't receive proper print from Mbed 2014-09-02 14:52:24 +01:00
Przemek Wirkus b45361a4d4 Flush separated for different methods 2014-09-01 17:05:00 +01:00
Przemek Wirkus 9cf976e827 Flushing serials after reset added as test stability improvement 2014-09-01 16:27:54 +01:00
Przemek Wirkus 6a9e726ccd Flushing serials after reset added as test stability improvement 2014-09-01 16:25:00 +01:00
Przemek Wirkus 2c166222b6 Added parent directory to import path to host test script so we can now impoer workspace_tools.* as we do in other scripts - problem was host_test.py and other tests run with custom CWD and imports are not easy to maintain 2014-09-01 16:10:24 +01:00
Przemek Wirkus e25ffc7856 Added to switch -c option 'eACommander' and 'eACommander-usb'
Added to switch --reset-type option 'eACommander' and 'eACommander-usb'
2014-09-01 15:13:42 +01:00
Przemek Wirkus ab2433cac2 Test bugfix: bugfixed RTOS (mutex, semaphore) - not thread safe stdio causes test result prints to be interrupted by threads' printing
test bugfix: added support for targetID print from device for 'hello world' and 'stdio' testcases
2014-08-15 11:17:52 +01:00
Przemek Wirkus 278acbec5d Host test: wrapped mbed.serial.timeout into separate function to avoid traceback and send proper IO_SERIAL error from host test(s) 2014-08-14 11:29:56 +01:00
Przemek Wirkus a5bdd4a8bb More comments added to methods in host_test.py 2014-08-13 11:29:06 +01:00
Przemek Wirkus 005c3a7b87 Host test: wrapped timeout for MUTs serial port access to handle IO_SERIAL error while accessing serial port 2014-08-13 11:11:51 +01:00
Przemek Wirkus 17c0132d56 Added parts of functionality related to extra reset types, global timeout increments and image configuration file modifications 2014-08-13 10:26:50 +01:00
Przemek Wirkus 64640c8880 Feature: MPS2 reset functionality implementation (not finished and will not break current implementation) 2014-08-13 10:26:43 +01:00
Przemek Wirkus 13c6c4f13e Refactoring: created test_api.py and moved test code and classes to separate test api file. Prepareing to add MPS2 reset functionality 2014-08-04 14:29:46 +01:00
Przemek Wirkus d5b7006223 Added reset option to host_test so in the future we can use different reset type, e.g. touch reset.txt on systems like MPS2 boards 2014-07-30 17:53:03 +01:00
Przemek Wirkus 0725b33375 Added exception handling for prettytable and serial modules - gracefuly handle missing imports. 2014-07-11 11:24:03 +01:00
Przemek Wirkus 41a7dada69 Removed TODO section in comments - all TODOs are fixed and implemented now. 2014-07-11 10:34:52 +01:00
Przemek Wirkus a1c9c941b5 Added serial port wrappers for read/write instead of raw serial port access to access MUT serial port. This will allow to catch more issues with communication with MUT during tests. This will also 'hide' tracebacks from test suite execution. 2014-07-10 14:54:05 +01:00
Przemek Wirkus 82e4a672ca Added seral port read/write wrappers to handle serial port communication issues. Added IOERR_SERIAL handler for basic test. Other tests will be refactored in separate commits. 2014-07-10 14:51:56 +01:00
Przemek Wirkus 10974f29f3 Removed unused 'pass' statement 2014-07-10 10:58:09 +01:00
Przemek Wirkus f3567d4f1a pyFlakes issues fixed. Simple refactoring 2014-07-10 10:58:07 +01:00
Przemek Wirkus 7c6ece5764 pyFlakes issues fixed. Simple refactoring 2014-07-10 10:58:05 +01:00
Przemek Wirkus e7c8010fe5 pyFlakes issues fixed. Simple refactoring 2014-07-10 10:58:02 +01:00
Przemek Wirkus f55c0aca43 pyFlakes issues fixed. Simple refactoring 2014-07-10 10:58:00 +01:00
Przemek Wirkus 7a5d00bd65 pyFlakes issues fixed. Simple refactoring 2014-07-10 10:57:58 +01:00