Przemek Wirkus
8af8250b48
Host test plugins: Cleaned preliminary code before next round of refactoring and improvements
2014-10-22 15:30:45 +01:00
Przemek Wirkus
fd2142f3bf
Host test plugins: First draft with working pluging for mbed (serial sendBreak command for reset)
2014-10-22 15:12:24 +01:00
Przemek Wirkus
b786c4c0f6
Minor style improvement
2014-10-21 13:53:19 +01:00
Przemek Wirkus
5bca0ab3d1
Cleaned pyFlakes issues with unused imports
2014-10-21 13:18:22 +01:00
Przemek Wirkus
3850ddc8c1
Host test refactoring: cleaned a bit functionality of host tests. Forced test() function in DefaultTest to be method returning test result
2014-10-21 13:12:32 +01:00
Przemek Wirkus
755565d854
Host test refactoring
...
Host test refactoring: replaced magic values of test results returned by host test
Prints with stdout.flush() replaced with notify function
Host test refactoring: created separate enum like class for test result strings
2014-10-17 15:14:53 +01:00
Przemek Wirkus
945604e16e
RTC test readline timeout increased to 10 seconds. Reason: RTC test is fail on Nucleo boards which don’t have the LSE xtal. This is because there is a timeout in the code of several seconds to wait until the LSE clock has startup.
2014-10-15 17:19:36 +01:00
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
Przemek Wirkus
3ce8116fb2
pyFlakes issues fixed. Simple refactoring
2014-07-10 10:57:56 +01:00
Przemek Wirkus
803c92438d
pyFlakes issues fixed. Simple refactoring
2014-07-10 10:57:53 +01:00
Przemek Wirkus
0fef3ba498
pyFlakes issues fixed. Simple refactoring
2014-07-10 10:57:51 +01:00
Przemek Wirkus
89ef186680
pyFlakes issues fixed. Simple refactoring
2014-07-10 10:57:49 +01:00
Przemek Wirkus
005ed7ec4a
pyFlakes issues fixed. Simple refactoring
2014-07-10 10:57:47 +01:00
Przemek Wirkus
362d6c83ff
Added TODO for test suite improvements.
2014-07-04 14:52:09 +01:00
Przemek Wirkus
0c937bb333
Added more todo to host test file
2014-06-26 17:44:11 +01:00
Przemek Wirkus
9b1c07195e
Added TODO to fix issues with serial detection
2014-06-26 11:11:57 +01:00
Przemek Wirkus
f5d3245fe9
Added safer serial.sendBreak() function implementation to handle Linux issues
2014-06-23 17:42:04 +01:00
0xc0170
00ddb5570b
spaces removal - workspace tools (not tmpl)
2014-05-29 15:42:03 +02:00
Przemek Wirkus
568f6ac112
Small updates to udp phy link test
2014-04-30 15:59:37 +01:00
Przemek Wirkus
c62f8cd1d1
Added new test NET_14 - datagram PHY/data layer benchmark
2014-04-30 13:57:08 +01:00
Przemek Wirkus
602a4ed8eb
Added EXAMPLE_1 /dev/null redirection host test to automation suite
2014-04-09 11:32:44 +01:00
Przemek Wirkus
4362956677
MBED_10 Hello World test host automation script added to test suite
2014-04-08 10:21:19 +01:00
Przemek Wirkus
e63ec28f4b
This small fix will omit TargetID printed on composite serial by some targets like LPC11U24
2014-03-20 17:20:22 +00:00
Przemek Wirkus
41c9b8e5e2
Added MBED_16 RTC host test automation (5 reads from RTC)
2014-03-20 15:52:37 +00:00
Przemek Wirkus
e051431053
Added MBED_11 ticker host test automation (test uses the same host_test script to test ticker as wait_us test.
2014-03-20 11:34:47 +00:00
Przemek Wirkus
d07ed138b2
Added us Timer proper host test automation
2014-03-19 19:57:02 +00:00
Przemek Wirkus
3e809741f7
Added us Timer host test automation
2014-03-19 19:44:29 +00:00
Przemek Wirkus
47a8df4b51
TC and UDP client updates. Added automation information to test suite. Added new peripherial: 'ethernet'
2014-03-17 17:39:24 +00:00
Przemek Wirkus
b345a189cf
Added implementation for TCP and UDP client
2014-03-17 17:29:18 +00:00
Przemek Wirkus
34e19e31e5
Added automation tests' implementation for TCP_Server, UDP_Server and STDIO
2014-03-17 11:58:35 +00:00
Przemek Wirkus
19c41849e2
Updated server IP address (According to server test script)
2014-03-13 16:02:09 +00:00
Bogdan Marinescu
e162e96245
Always use the local version of workspace_tools
...
This ensures compatibility with the mbed-tools package.
2013-12-19 15:02:57 +02:00
Bogdan Marinescu
d0b2fb6c66
Added flow control test
...
Since this requires a separate serial port connection, added this as a
new attribute of the MUTs.
2013-12-04 19:46:51 +02:00
Emilio Monti
3c6e2ab67a
Add license to workspace_tools files
2013-08-06 14:38:00 +01:00
Emilio Monti
be73e26366
[mbed::net] Not shutting down the socket, before closing it, is not robust in lwIP
2013-05-14 10:41:47 +01:00
Emilio Monti
80518c489c
Add LPC812 target. Update tests. Remove obsolete documentation. Move shared code among targets to target independent layer.
2013-03-14 11:52:38 +00:00
Emilio Monti
a80058dc5f
Add multicast and broadcast support
2013-03-01 17:02:35 +00:00
Emilio Monti
5c20760685
Initial commit of the mbed libraries and tools
2013-02-18 15:32:11 +00:00