diff --git a/test/e2e-tests-latest-eventing.sh b/test/e2e-upgrade-tests.sh similarity index 100% rename from test/e2e-tests-latest-eventing.sh rename to test/e2e-upgrade-tests.sh diff --git a/test/presubmit-tests.sh b/test/presubmit-tests.sh index ec657eeb..c5da77a5 100755 --- a/test/presubmit-tests.sh +++ b/test/presubmit-tests.sh @@ -25,4 +25,15 @@ source $(dirname $0)/../vendor/knative.dev/test-infra/scripts/presubmit-tests.sh # We use the default build, unit and integration test runners. +function integration_tests() { + local options="" + local failed=0 + e2e_test="test/e2e-tests.sh" + echo "Running integration test ${e2e_test}" + if ! ${e2e_test} ${options}; then + failed=1 + fi + return ${failed} +} + main $@