File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -200,6 +200,7 @@ allowed:
200200 - syslog
201201 - textarea
202202 - tcp
203+ - testname
203204 - timeseries
204205 - tls
205206 - tooltip
Original file line number Diff line number Diff line change 3737
3838.PHONY : e2e
3939e2e : build
40- TESTNAME=$(TESTNAME ) TESTNUMBER=$(TESTNUMBER ) TESTDESCRIPTION=" $( TESTDESCRIPTION) " SKIP_CLEANUP=$(SKIP_CLEANUP ) PREWIPE=$(PREWIPE ) HAPROXY_VERSION=$(HAPROXY_VERSION ) ./e2e/run.bash
40+ TESTNAME=" $( TESTNAME) " TESTNUMBER=$(TESTNUMBER ) TESTDESCRIPTION=" $( TESTDESCRIPTION) " SKIP_CLEANUP=$(SKIP_CLEANUP ) PREWIPE=$(PREWIPE ) HAPROXY_VERSION=$(HAPROXY_VERSION ) ./e2e/run.bash
4141
4242.PHONY : generate-parent-aliases_no_formatting
4343generate-parent-aliases_no_formatting :
Original file line number Diff line number Diff line change 112112trap dump_logs ERR
113113
114114echo ' >>> Starting test suite'
115- if [ ! -z $TESTNAME ]; then
116- bats -t " ${E2E_DIR} " /tests/${TESTNAME}
115+ if [ -n " $TESTNAME " ]; then
116+ # Small hack to allow selecting multiple test directories.
117+ pfx () { for i; do echo " $E2E_DIR /tests/$i " ; done ; }
118+ bats -t $( pfx $TESTNAME )
117119elif [ ! -z $TESTPART ]; then
118120 set +e
119121 echo $TESTPART | grep -q -e " [[:digit:]]/[[:digit:]]"
You can’t perform that action at this time.
0 commit comments