You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should add a new analysis directory where we add all tests and analysis. These tests should call the dmpr-simulator.py with the correct arguments - including trace - and analyse the resulting results. Often there will be no passed/failed. Analysis often will print a graph (think about the header compression mathplot chart). But this is also fine if - it is important that we run tests and analysis in an automated manner.
I putted every test in a separate directory cause analysis scripts will generate files. After 10 scripts with the result files nobody will know where the files originate. This results files should be put in the script directory.
#!/usr/bin/python
import mathplotlib
popen("../dmpr-simulator.py --topology 001-foo-bar --trace TRACEPOINT1")
for node in ("router1", "router2):
with open("../tracefile" + node) as fd:
data = fd.read()
plot(data)
--set-static-seed should be set to true for some tests.
The text was updated successfully, but these errors were encountered:
We should add a new
analysis
directory where we add all tests and analysis. These tests should call the dmpr-simulator.py with the correct arguments - including trace - and analyse the resulting results. Often there will be no passed/failed. Analysis often will print a graph (think about the header compression mathplot chart). But this is also fine if - it is important that we run tests and analysis in an automated manner.E.g.
I putted every test in a separate directory cause analysis scripts will generate files. After 10 scripts with the result files nobody will know where the files originate. This results files should be put in the script directory.
The test.py script should look like
--set-static-seed
should be set to true for some tests.The text was updated successfully, but these errors were encountered: