Skip to content

ci: compile_time_options fixes#14105

Merged
htuch merged 2 commits intoenvoyproxy:masterfrom
lizan:ci_cto
Nov 24, 2020
Merged

ci: compile_time_options fixes#14105
htuch merged 2 commits intoenvoyproxy:masterfrom
lizan:ci_cto

Conversation

@lizan
Copy link
Copy Markdown
Member

@lizan lizan commented Nov 19, 2020

Signed-off-by: Lizan Zhou lizan@tetrate.io

Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
@rojkov
Copy link
Copy Markdown
Member

rojkov commented Nov 20, 2020

/cc @rojkov

Copy link
Copy Markdown
Member

@rojkov rojkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM

TEST_TARGETS=("@envoy//test/...")
fi
cd "${ENVOY_FILTER_EXAMPLE_SRCDIR}"
TEST_TARGETS=("${TEST_TARGETS[@]/#\/\//@envoy\/\/}")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When running do_ci.sh with just a single test target for compile_time_options, does this force all the filter example tests as well?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes that's on purpose.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The flow is often that a developer just wants to run a single quick test, why force them to run additional tests?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I read the first comment wrong, it runs the single test from filter example, but doesn't run additional tests.

For example, if specified test is
//test/common/common:base64_test, this will run it as @envoy//test/common/common:base64_test from filter example repo.

Copy link
Copy Markdown
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@htuch htuch merged commit 983be71 into envoyproxy:master Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants