Skip to content

Commit

Permalink
MDEV-31050 Add cursor protocol to full test builders
Browse files Browse the repository at this point in the history
grooverdan authored and RazvanLiviuVarzaru committed Nov 19, 2024
1 parent a4a1ebb commit e6037da
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions constants.py
Original file line number Diff line number Diff line change
@@ -213,6 +213,7 @@
# run `./mtr testname`, they need a special build
test_type_to_mtr_arg = {
"nm": "",
"cursor": "--cursor-protocol",
"ps": "--ps-protocol",
"connect": "--suite=connect",
"emb": "--embedded",
@@ -223,6 +224,7 @@
"ubsan": "",
"valgrind": "",
"debug": "",
"debug-cursor": "--cursor-protocol",
"debug-ps": "--ps-protocol",
"debug-emb": "--embedded",
"debug-emb-ps": "--embedded --ps-protocol",
4 changes: 3 additions & 1 deletion master-docker-nonstandard-2/master.cfg
Original file line number Diff line number Diff line change
@@ -568,7 +568,9 @@ def add_test_steps(factory, test_types):

# Custom parts of the command
extra_args = ""
if test_type == "emb":
if test_type == "cursor":
extra_args = "--cursor-protocol"
elif test_type == "emb":
extra_args = "--embedded-server"
elif test_type == "ps":
extra_args = "--ps-protocol"
1 change: 1 addition & 0 deletions master-docker-nonstandard/master.cfg
Original file line number Diff line number Diff line change
@@ -1045,6 +1045,7 @@ f_full_test.addStep(

# MTR steps
full_test_configs = {
"cursor": {},
"emb": {},
"nm": {},
"ps": {},

0 comments on commit e6037da

Please sign in to comment.