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
Copy file name to clipboardExpand all lines: tools/marvin/marvin/deployAndRun.py
+26-7
Original file line number
Diff line number
Diff line change
@@ -12,21 +12,22 @@
12
12
# Automatically generated by addcopyright.py at 04/03/2012
13
13
importdeployDataCenter
14
14
importTestCaseExecuteEngine
15
+
importNoseTestExecuteEngine
15
16
fromoptparseimportOptionParser
16
17
importos
18
+
17
19
if__name__=="__main__":
18
20
parser=OptionParser()
19
21
20
22
parser.add_option("-c", "--config", action="store", default="./datacenterCfg", dest="config", help="the path where the json config file generated, by default is ./datacenterCfg")
21
23
parser.add_option("-d", "--directory", dest="testCaseFolder", help="the test case directory")
22
24
parser.add_option("-r", "--result", dest="result", help="test result log file")
23
-
parser.add_option("-t", dest="testcaselog", help="test case log file")
25
+
parser.add_option("-t", "--client", dest="testcaselog", help="test case log file")
24
26
parser.add_option("-l", "--load", dest="load", action="store_true", help="only load config, do not deploy, it will only run testcase")
27
+
parser.add_option("-f", "--file", dest="module", help="run tests in the given file")
28
+
parser.add_option("-n", "--nose", dest="nose", action="store_true", help="run tests using nose")
0 commit comments