Debug and improve tests

This commit is contained in:
Loic Guegan 2022-09-13 14:38:30 +02:00
parent b3cbb52f00
commit 17bfda379b
25 changed files with 376 additions and 21 deletions
tests/breakpoints_manual_1n

View file

@ -0,0 +1,4 @@
#!/usr/bin/env python
def callback(simulator):
simulator.log("Hello Callback!")

View 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