Playground: testing multi-node networks#819
Open
davidjsherman wants to merge 2 commits into
Open
Conversation
Member
|
One question, are the tests supposed to work on Windows (in msys64)? |
Collaborator
Author
|
Yes, the tests ought to work anywhere. |
Member
|
Given the explanation of #624 (comment), what would you like me to do with this PR? Should we put it WIP until we finish the discussion in #624? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR proposes end-to-end testing for multi-node networks within a Playground. It uses CMake to build testing scripts that refer to the correct executables. A test for a proposed extension to the playground format is included.
The testing scenario comprises five simulated Thymio-II robots partitioned into three networks.
The programs are simple beacons, that broadcast an alive message with the id of the node evry three seconds.
Playground
test-1-processes.playgroundillustrates how to build three networks in a five-node playground, using<process>tags to start asebaswitch, asebamassloader, and asebahttp (for inlined Aesl programs).Playground
test-2-networks.playgroundillustrates a proposed extension to the XML definition, suggested in #624 (comment). Since this test isn't implemented, the CMakeLists.txt declares that this test is expected to fail.