Commit Graph

10 Commits (aec674b45f9b9cb313063c9a40db63bbc6a3290f)

Author SHA1 Message Date
Przemek Wirkus 78cc959f50 In response to: IOTSFW-325
1. Removed globaly initialized data inside class test() function
2. Removed global variables initialization dependency. Any cause some Python
   implementations and configurations to fail in runtime
3. Added info about Echo port #7 rationale.
4. Testsed with K64F and network tests:

Test summary:
+--------+--------+---------+----------------------------+--------------------+
| Result | Target | Test ID | Test Description           | Elapsed Time (sec) |
+--------+--------+---------+----------------------------+--------------------+
| OK     | K64F   | NET_1   | TCP client hello world     |        3.26        |
| OK     | K64F   | NET_13  | TCP client echo loop       |        2.05        |
| OK     | K64F   | NET_2   | NIST Internet Time Service |        3.43        |
| OK     | K64F   | NET_3   | TCP echo server            |        1.54        |
| OK     | K64F   | NET_4   | TCP echo client            |        1.54        |
| OK     | K64F   | NET_5   | UDP echo server            |        1.46        |
| OK     | K64F   | NET_6   | UDP echo client            |        1.6         |
| OK     | K64F   | NET_7   | HTTP client hello world    |        3.4         |
| OK     | K64F   | NET_8   | NTP client                 |        2.39        |
+--------+--------+---------+----------------------------+--------------------+
Result: 9 OK

Completed in 122.18 sec
2015-02-19 11:36:44 +00:00
Przemek Wirkus 035714e409 Added NET_4, NET_6 and NET_13 tests to autodetection pool 2015-01-30 09:57:36 +00:00
Przemek Wirkus 54c06c8b84 Host test plugins: Ethernet tests (NET_*) refactored to new host test copy paradigm 2014-10-30 15:22:02 +00:00
Przemek Wirkus 5bca0ab3d1 Cleaned pyFlakes issues with unused imports 2014-10-21 13:18:22 +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 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 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 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 f3567d4f1a pyFlakes issues fixed. Simple refactoring 2014-07-10 10:58:07 +01:00
Przemek Wirkus b345a189cf Added implementation for TCP and UDP client 2014-03-17 17:29:18 +00:00