File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,3 +42,4 @@ allowed:
4242 - newcert
4343 - libdns
4444 - txt
45+ - testname
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