Skip to content
Snippets Groups Projects
Commit 7dfad83f authored by Vladimir Davydov's avatar Vladimir Davydov
Browse files

test: fix box-py/args.test.py for new release policy

The test assumes that a version string looks like this
2.9.0-123-gabcabcababc. We want to append a flow string
after <major>.<minor>.<patch>. Fix the test accordingly.

Needed for #6183
parent ba5398c7
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ tarantool --no-such-option --version
tarantool: unrecognized option
tarantool --version
Tarantool 2.minor.patch-<rev>-<commit>
Tarantool 2.minor.patch-<suffix>-<rev>-<commit>
Target: platform <build>
Build options: flags
Compiler: cc
......@@ -52,7 +52,7 @@ C_FLAGS: flags
CXX_FLAGS: flags
tarantool -v
Tarantool 2.minor.patch-<rev>-<commit>
Tarantool 2.minor.patch-<suffix>-<rev>-<commit>
Target: platform <build>
Build options: flags
Compiler: cc
......@@ -60,7 +60,7 @@ C_FLAGS: flags
CXX_FLAGS: flags
tarantool -V
Tarantool 2.minor.patch-<rev>-<commit>
Tarantool 2.minor.patch-<suffix>-<rev>-<commit>
Target: platform <build>
Build options: flags
Compiler: cc
......@@ -111,7 +111,7 @@ arg[3] => 2
arg[4] => 3
tarantool -V ${SOURCEDIR}/test/box-py/args.lua 1 2 3
Tarantool 2.minor.patch-<rev>-<commit>
Tarantool 2.minor.patch-<suffix>-<rev>-<commit>
Target: platform <build>
Build options: flags
Compiler: cc
......
......@@ -22,7 +22,7 @@ sys.stdout.push_filter("unrecognized option.*", "unrecognized option")
server.test_option("-Z")
server.test_option("--no-such-option")
server.test_option("--no-such-option --version")
sys.stdout.push_filter(".* (\d+)\.\d+\.\d+(-\d+-\w+)?", "Tarantool \\1.minor.patch-<rev>-<commit>")
sys.stdout.push_filter(".* (\d+)\.\d+\.\d+(-\w+)?(-\d+)?(-\w+)?", "Tarantool \\1.minor.patch-<suffix>-<rev>-<commit>")
sys.stdout.push_filter("Target: .*", "Target: platform <build>")
sys.stdout.push_filter(".*Disable shared arena since.*\n", "")
sys.stdout.push_filter("Build options: .*", "Build options: flags")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment