Browse Source

tests/net_inet: Move tests which don't require full Internet to net_hosted.

The idea is that these tests can be run with just a test server running
on a test host, with device under test connecting to it, instead of
requiring Internet connection for testing.

Such setup is however WIP, and some tests in net_hosted/ are so far
written to connect to Internet, as there're not test server written
yet. This is expected to evolve over time.
pull/3017/merge
Paul Sokolovsky 7 years ago
parent
commit
3f9d59c87a
  1. 11
      tests/net_hosted/README
  2. 0
      tests/net_hosted/accept_nonblock.py
  3. 0
      tests/net_hosted/accept_nonblock.py.exp
  4. 0
      tests/net_hosted/accept_timeout.py
  5. 0
      tests/net_hosted/accept_timeout.py.exp
  6. 0
      tests/net_hosted/connect_nonblock.py
  7. 0
      tests/net_hosted/connect_nonblock.py.exp
  8. 2
      tests/net_inet/README

11
tests/net_hosted/README

@ -0,0 +1,11 @@
This directory contains network tests which require just "peer to peer"
network connection between test host and device under test, instead of
full Internet connection.
Note that setup for these tests and tests themselves are WIP, and may
not yet fully correspond to the functional specification above.
So far, these tests are not run as part of the main testsuite and need
to be run seperately (from the main test/ directory):
./run-tests net_hosted/*.py

0
tests/net_inet/accept_nonblock.py → tests/net_hosted/accept_nonblock.py

0
tests/net_inet/accept_nonblock.py.exp → tests/net_hosted/accept_nonblock.py.exp

0
tests/net_inet/accept_timeout.py → tests/net_hosted/accept_timeout.py

0
tests/net_inet/accept_timeout.py.exp → tests/net_hosted/accept_timeout.py.exp

0
tests/net_inet/connect_nonblock.py → tests/net_hosted/connect_nonblock.py

0
tests/net_inet/connect_nonblock.py.exp → tests/net_hosted/connect_nonblock.py.exp

2
tests/net_inet/README

@ -1,4 +1,4 @@
This direcctory contains network tests which require Internet connection.
This directory contains network tests which require Internet connection.
Note that these tests are not run as part of the main testsuite and need
to be run seperately (from the main test/ directory):

Loading…
Cancel
Save