From: Sergey Bronnikov <sergeyb@tarantool.org> To: "Alexander V. Tikhonov" <avtikhon@tarantool.org> Cc: tarantool-patches@dev.tarantool.org Subject: Re: [Tarantool-patches] [PATCH v2] Add option to update file with reference output Date: Wed, 20 May 2020 11:23:06 +0300 [thread overview] Message-ID: <20200520082306.GB1400@pony.bronevichok.ru> (raw) In-Reply-To: <20200520080259.GA15557@hpalx> Hi, Alexander On 11:03 Wed 20 May , Alexander V. Tikhonov wrote: > Hi Sergey, thanks for the patch. In general LGTM, but want to ask if > it is needed to mention in help message of the new --update-result > option that the new result file will be in the new result style, I > mean the following difference, please check: > mv replication/misc.result replication/misc.saved > ./test-run.py replication/misc.test.lua --update-result > diff replication/misc.result replication/misc.saved Thanks for review! I suppose it's not a problem when we will have an option to update .result files. > On Tue, May 19, 2020 at 01:25:46PM +0300, sergeyb@tarantool.org wrote: > > From: Sergey Bronnikov <sergeyb@tarantool.org> > > > > New option covers two cases: > > - in case of test failure test-run.py create a file .reject with > > actual test output and one need to move .reject file to .result manually > > when test has a valid behaviour. With option --update-result test-run.py > > will do it automatically. > > - in case of abcense reference result file test-run.py forced to create > > such file in a source directory and set test status "new". This patch > > changes behaviour. With option --update-result test status is "new" > > and result file is created, without option test status is "fail" and > > result file is not created. > > > > Fixes https://github.com/tarantool/tarantool/issues/4654 > > Fixes https://github.com/tarantool/tarantool/issues/4258 > > Closes #194 <snipped>
next prev parent reply other threads:[~2020-05-20 8:23 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-05-19 10:25 sergeyb 2020-05-20 8:03 ` Alexander V. Tikhonov 2020-05-20 8:23 ` Sergey Bronnikov [this message] 2020-06-03 17:27 ` Alexander Turenko 2020-06-04 13:07 ` Sergey Bronnikov 2020-06-08 9:19 ` Alexander Turenko 2020-06-08 15:31 ` Sergey Bronnikov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200520082306.GB1400@pony.bronevichok.ru \ --to=sergeyb@tarantool.org \ --cc=avtikhon@tarantool.org \ --cc=tarantool-patches@dev.tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH v2] Add option to update file with reference output' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox