Exemplo n.º 1
0
def main():
    operations(numberOfRuns)
    movePcapFiles()
    cleanup()
    autoreport.autoreport(testName)
    os._exit(1)
Exemplo n.º 2
0
def main():
    makePreparations()
    runTest()
    compareErrorCodes()
    printErrors()
    autoreport.autoreport("js-viewer-server-test")
Exemplo n.º 3
0
def main():
    makePreparations()
    runTest()
    compareErrorCodes()
    printErrors()
    autoreport.autoreport("js-viewer-server-test")
Exemplo n.º 4
0
#import autoreport
import autoreport #<--<<

# This is an example test script
# arrows point to the additions needed for autoreporting
print "example test script"
#test goes here

#send the config name to autoreport and create the report if needed
autoreport.autoreport("js-viewer-server-test") #<--<<
Exemplo n.º 5
0
####### ENABLE AUTO REPORTING IN A TEST
# arrows point to the additions needed for autoreporting

import autoreport #<--<<

# This is an example test script
print "example test script"
#test goes here

#send the config name to autoreport and create the report if needed
autoreport.autoreport("exampletest") #<--<<

#################### ADD THE TEST CONFIG TO AUTOREPORT
# Additions needed in autoreport.py
# under CONSTANTS at around line 43, add
"""
TEST4 = "exampletest"
"""
# to function whichTestWasRun(option), add
"""
elif option == TEST4:
    launchTundra()
"""


# add setup function
"""
 def exampleTest():
    global testName
    global testComment
    global errorPattern
Exemplo n.º 6
0
def main():
    makePreparations()
    os.chdir(rexbinDir)
    runTundra(param)
    os.chdir(scriptDir)
    autoreport.autoreport(testName)
Exemplo n.º 7
0
def main():
    operations(numberOfRuns)
    movePcapFiles()
    cleanup()
    autoreport.autoreport(testName)
    os._exit(1)
Exemplo n.º 8
0
####### ENABLE AUTO REPORTING IN A TEST
# arrows point to the additions needed for autoreporting

import autoreport  #<--<<

# This is an example test script
print "example test script"
#test goes here

#send the config name to autoreport and create the report if needed
autoreport.autoreport("exampletest")  #<--<<

#################### ADD THE TEST CONFIG TO AUTOREPORT
# Additions needed in autoreport.py
# under CONSTANTS at around line 43, add
"""
TEST4 = "exampletest"
"""
# to function whichTestWasRun(option), add
"""
elif option == TEST4:
    launchTundra()
"""

# add setup function
"""
 def exampleTest():
    global testName
    global testComment
    global errorPattern
    global logDir
Exemplo n.º 9
0
def main():
    makePreparations()
    os.chdir(rexbinDir)
    runTundra(param)
    os.chdir(scriptDir)
    autoreport.autoreport(testName)