tests: introduce dedicated gnrc_rpl_srh test#10392
Merged
jia200x merged 3 commits intoRIOT-OS:masterfrom Jan 11, 2019
Merged
Conversation
3 tasks
gnrc_rpl_srh testgnrc_rpl_srh test
99b638c to
dc7012b
Compare
Member
Author
|
Rebased to current dependencies |
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Nov 19, 2018
I had this idea when implementing RIOT-OS#10382 and RIOT-OS#10392 as I introduced a very similar structure to python's standard unittests in those and it could also reduce some code duplication between those two tests.
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Nov 19, 2018
I had this idea when implementing RIOT-OS#10382 and RIOT-OS#10392 as I introduced a very similar structure to python's standard unittests in those and it could also reduce some code duplication between those two tests.
876871d to
799d943
Compare
Member
Author
|
Rebased to current master and dependencies. |
8d08640 to
aea29a3
Compare
Member
Author
|
Rebased to and tested for current master and dependencies. |
aea29a3 to
596a136
Compare
Member
Author
|
Rebased to current master and dependencies. |
596a136 to
0a72b98
Compare
Member
Author
|
Rebased to current master and dependencies. |
Member
|
@miri64 could you squash? |
4201f3d to
3ff2edf
Compare
Member
Author
|
Squashed |
Member
Author
|
Murdock and Travis are happy. |
Member
|
So this completes the GNRC IPv6 refactor. Congratz 🎉 GO |
Member
Author
|
Thank you @jia200x for all the review work for this project! |
Member
|
no problem! thanks for all the work :) |
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Jan 22, 2019
I had this idea when implementing RIOT-OS#10382 and RIOT-OS#10392 as I introduced a very similar structure to python's standard unittests in those and it could also reduce some code duplication between those two tests.
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Jan 29, 2019
I had this idea when implementing RIOT-OS#10382 and RIOT-OS#10392 as I introduced a very similar structure to python's standard unittests in those and it could also reduce some code duplication between those two tests.
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Jan 29, 2019
I had this idea when implementing RIOT-OS#10382 and RIOT-OS#10392 as I introduced a very similar structure to python's standard unittests in those and it could also reduce some code duplication between those two tests.
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Jan 29, 2019
I had this idea when implementing RIOT-OS#10382 and RIOT-OS#10392 as I introduced a very similar structure to python's standard unittests in those and it could also reduce some code duplication between those two tests.
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Jan 29, 2019
I had this idea when implementing RIOT-OS#10382 and RIOT-OS#10392 as I introduced a very similar structure to python's standard unittests in those and it could also reduce some code duplication between those two tests.
cladmi
pushed a commit
to cladmi/RIOT
that referenced
this pull request
Feb 1, 2019
I had this idea when implementing RIOT-OS#10382 and RIOT-OS#10392 as I introduced a very similar structure to python's standard unittests in those and it could also reduce some code duplication between those two tests.
cladmi
pushed a commit
to cladmi/RIOT
that referenced
this pull request
Feb 4, 2019
I had this idea when implementing RIOT-OS#10382 and RIOT-OS#10392 as I introduced a very similar structure to python's standard unittests in those and it could also reduce some code duplication between those two tests.
cladmi
pushed a commit
to cladmi/RIOT
that referenced
this pull request
Feb 4, 2019
I had this idea when implementing RIOT-OS#10382 and RIOT-OS#10392 as I introduced a very similar structure to python's standard unittests in those and it could also reduce some code duplication between those two tests.
cladmi
pushed a commit
to cladmi/RIOT
that referenced
this pull request
Feb 5, 2019
I had this idea when implementing RIOT-OS#10382 and RIOT-OS#10392 as I introduced a very similar structure to python's standard unittests in those and it could also reduce some code duplication between those two tests.
cladmi
pushed a commit
to cladmi/RIOT
that referenced
this pull request
Feb 5, 2019
I had this idea when implementing RIOT-OS#10382 and RIOT-OS#10392 as I introduced a very similar structure to python's standard unittests in those and it could also reduce some code duplication between those two tests.
cladmi
pushed a commit
to cladmi/RIOT
that referenced
this pull request
Feb 19, 2019
I had this idea when implementing RIOT-OS#10382 and RIOT-OS#10392 as I introduced a very similar structure to python's standard unittests in those and it could also reduce some code duplication between those two tests.
JulianHolzwarth
pushed a commit
to JulianHolzwarth/RIOT
that referenced
this pull request
Feb 27, 2019
I had this idea when implementing RIOT-OS#10382 and RIOT-OS#10392 as I introduced a very similar structure to python's standard unittests in those and it could also reduce some code duplication between those two tests.
TomKeddie
pushed a commit
to TomKeddie/RIOT
that referenced
this pull request
Mar 4, 2019
I had this idea when implementing RIOT-OS#10382 and RIOT-OS#10392 as I introduced a very similar structure to python's standard unittests in those and it could also reduce some code duplication between those two tests.
geromueller
pushed a commit
to geromueller/RIOT
that referenced
this pull request
Jun 19, 2019
I had this idea when implementing RIOT-OS#10382 and RIOT-OS#10392 as I introduced a very similar structure to python's standard unittests in those and it could also reduce some code duplication between those two tests.
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.
Contribution description
This introduces a dedicated test application for GNRC's RPL source router header implementation. It utilizes
scapyfor the generation of the routing headers. It also moves the unittests from the unittests application into this application.Testing procedure
Compile
tests/gnrc_rpl_srhand flash it to a board of your choice. Usesudo make testto run (due to the required Ethernet frame construction with the tap interface you need root permissions). The tests might hang and fail due toscapy's sniffer sometimes not picking up the expected packet. Maybe someone can help me with syncing the main thread and the sniffer thread of the python script here?Issues/PRs references
Depends on #10242, #10244, and
#10300(merged) and their dependencies:Addresses #8941 partly.