mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-05-03 01:57:46 +00:00
Debug and improve tests
This commit is contained in:
parent
b3cbb52f00
commit
17bfda379b
25 changed files with 376 additions and 21 deletions
tests/breakpoints_manual_1n
4
tests/breakpoints_manual_1n/callback.py
Executable file
4
tests/breakpoints_manual_1n/callback.py
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
def callback(simulator):
|
||||
simulator.log("Hello Callback!")
|
22
tests/breakpoints_manual_1n/platform.yaml
Normal file
22
tests/breakpoints_manual_1n/platform.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
general:
|
||||
breakpoints: [1,2,3,10]
|
||||
breakpoints_callback:
|
||||
file: "callback.py"
|
||||
callback: "callback"
|
||||
|
||||
nodes:
|
||||
count: 2
|
||||
implementations:
|
||||
- all node.py
|
||||
|
||||
interfaces:
|
||||
wlan0:
|
||||
type: "wireless"
|
||||
links:
|
||||
- all 2bps 0s all
|
||||
txperfs:
|
||||
- all 2bps 0s
|
||||
eth0:
|
||||
type: "wired"
|
||||
links:
|
||||
- all 2bps 0s all
|
Loading…
Add table
Add a link
Reference in a new issue