aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/vagrant_utils/unit_testing.sh
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-11-06 09:20:27 -0800
committerVictor Morales <victor.morales@intel.com>2017-11-06 09:20:27 -0800
commit7abf1a8ea14252fa55bf7da0575ad0ff21f41d61 (patch)
treefe63005167be86de8847bf6b85b7de7619ecda6a /bootstrap/vagrant-onap/vagrant_utils/unit_testing.sh
parent2f75a72c8955a1dcf5aa367162a19bddb5eded2a (diff)
Add debug support
This change allows to control the level of verbosity for the ONAP on vagrant execution. The new debug configuration value enables verbosity setting its value to *True* Change-Id: I29a3694ea3182a02cb585af5ae8ada1f8a415c8c Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-323
Diffstat (limited to 'bootstrap/vagrant-onap/vagrant_utils/unit_testing.sh')
-rwxr-xr-xbootstrap/vagrant-onap/vagrant_utils/unit_testing.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bootstrap/vagrant-onap/vagrant_utils/unit_testing.sh b/bootstrap/vagrant-onap/vagrant_utils/unit_testing.sh
index a378ad0cd..3a97ad9cf 100755
--- a/bootstrap/vagrant-onap/vagrant_utils/unit_testing.sh
+++ b/bootstrap/vagrant-onap/vagrant_utils/unit_testing.sh
@@ -1,5 +1,9 @@
#!/bin/bash
+if [[ "$debug" == "True" ]]; then
+ set -o xtrace
+fi
+
set -o errexit
TEST_SUITE=${1:-*}