-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve TM testing support infrastructure #1353
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Dainius Serplis <[email protected]>
@@ -1,4 +1,4 @@ | |||
//go:build binary | |||
//go:build binary && !tm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test templates files that are in vcd/test-templates
are not compatible with TM therefore this is not being executed when tm
tag is specified
@@ -99,11 +99,11 @@ function short_test { | |||
fi | |||
if [ -n "$VERBOSE" ] | |||
then | |||
echo "VCD_SHORT_TEST=1 go test -race -tags 'functional $MORE_TAGS' -v -timeout 5m" | |||
echo "VCD_SHORT_TEST=1 go test -race -tags '$MORE_TAGS' -v -timeout 5m" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
functional
tag was default until TM, but this tag is now moved upstream to the function caller and it should be included within $MORE_TAGS
in the caller. This allows for isolating functional
tag that is not to be used with TM
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, will give it a try and then approve
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very helpful!
make testtm-acc
,testtm-acc-coverage
,make testtm-binary
,make testtm-binary-prepare
TESTING.md
for TM testingsample_vcd_test_config.json
for VCD andsample_vcd_test_config_tm.json
for TM