[Ns-developers] Multiple tests in regression python script.
David Evensky
evensky at dancer.ca.sandia.gov
Wed Jun 25 13:19:11 PDT 2008
How do I run multiple tests within a regression python scripts?
I have currently something like:
import os
import shutil
import tracediff
def run(verbose, generate, refDirName):
"""Execute a test."""
return tracediff.run_test(verbose, generate, refDirName,
"tcp-2way --createTraces")
but I also want to run with multiple things like:
tcp-2way --createTraces --packetGap=31 --useDummyBytes=0 --recvSize=400
Given that the regression test will be testing multiple things, should
they all create tracefiles? (and if they do, should they all be appended?)
What sort of output should the regression test produce?
Thanks,
\dae
More information about the Ns-developers
mailing list