aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/script
diff options
context:
space:
mode:
authorAdrian Villin <avillin@cisco.com>2024-09-25 14:49:11 +0200
committerFlorin Coras <florin.coras@gmail.com>2024-10-10 15:50:15 +0000
commit2acdf1e629a0e5463ed6820b9de4ae5ab7101cf6 (patch)
treec4a31f7720046076b01529308cf8afc50b124ed5 /extras/hs-test/script
parent77ca487742310e4cdab5cad134de408b755e388b (diff)
hs-test: added dry run mode
- DRYRUN=true will set up most containers. Some need to be started manually (curl, nginx...). The framework will create a vpp-config file with interface configs that will get executed on VPP startup. - set Ginkgo to use -v instead of -vv when running a single test - s.Log() now supports formatting - added 'useEnvVars' parameter to container.Exec Type: test Change-Id: Id1da7947a1448ee4b74b86cc4f243442256a5ba8 Signed-off-by: Adrian Villin <avillin@cisco.com>
Diffstat (limited to 'extras/hs-test/script')
-rwxr-xr-xextras/hs-test/script/compress.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/extras/hs-test/script/compress.sh b/extras/hs-test/script/compress.sh
index 09db9b6720d..3a4642ea65a 100755
--- a/extras/hs-test/script/compress.sh
+++ b/extras/hs-test/script/compress.sh
@@ -1,5 +1,10 @@
#!/usr/bin/env bash
+if [ $1 == 2 ]
+then
+ exit 1
+fi
+
# if failed-summary.log is not empty, exit status = 1
if [ -s "${HS_ROOT}/summary/failed-summary.log" ]
then