summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-02-21 03:42:48 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2016-02-21 03:42:48 +0200
commit2f75f197b0f948aa53e88e479d85cf83a64057c4 (patch)
tree222c6adabe58b71a4385a2448ed6debd4760d73a
parentbe5fd48f86729b19cb24d18182b90df3580fd285 (diff)
regression: fix args
-rwxr-xr-xscripts/automation/regression/trex_unit_test.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/automation/regression/trex_unit_test.py b/scripts/automation/regression/trex_unit_test.py
index c5108d18..fca733ba 100755
--- a/scripts/automation/regression/trex_unit_test.py
+++ b/scripts/automation/regression/trex_unit_test.py
@@ -213,7 +213,7 @@ if __name__ == "__main__":
CTRexScenario.setup_name = os.path.basename(CTRexScenario.setup_dir)
xml_name = 'report_%s.xml' % CTRexScenario.setup_name
- nose_argv = ['--exe', '--rednose', '--detailed-errors']
+ nose_argv = ['', '-s', '-v', '--exe', '--rednose', '--detailed-errors']
if '--collect-only' in sys.argv: # this is a user trying simply to view the available tests. no need xunit.
CTRexScenario.is_test_list = True
else:
@@ -237,7 +237,6 @@ if __name__ == "__main__":
nose_argv += ['unit_tests']
if disableLogCapture:
nose_argv += ['--nologcapture']
- nose_argv += ['-s', '-v']
try:
config_plugin = CTRexTestConfiguringPlugin()