fix
authorYaroslav Brustinov <[email protected]>
Wed, 9 Mar 2016 13:11:14 +0000 (15:11 +0200)
committerYaroslav Brustinov <[email protected]>
Wed, 9 Mar 2016 13:11:14 +0000 (15:11 +0200)
scripts/automation/regression/trex_unit_test.py

index 1bb2507..fd63f8e 100755 (executable)
@@ -145,6 +145,8 @@ class CTRexTestConfiguringPlugin(Plugin):
         self.stateful = options.stateful
         self.copy = options.copy
         self.collect_only = options.collect_only
+        if self.functional or self.collect_only:
+            return
         if CTRexScenario.setup_dir and options.config_path:
             raise Exception('Please either define --cfg or use env. variable SETUP_DIR, not both.')
         if not options.config_path and CTRexScenario.setup_dir: