Skip to content

Conversation

@luke-jr
Copy link
Member

@luke-jr luke-jr commented Apr 25, 2019

No description provided.

@practicalswift
Copy link
Contributor

utACK fcc443b

@maflcko maflcko merged commit fcc443b into bitcoin:master Apr 26, 2019
maflcko pushed a commit that referenced this pull request Apr 26, 2019
…E_NAME in messages rather than hardcoding Bitcoin Core

fcc443b QA: feature_filelock, interface_bitcoin_cli: Use PACKAGE_NAME in messages rather than hardcoding Bitcoin Core (Luke Dashjr)

Pull request description:

ACKs for commit fcc443:
  practicalswift:
    utACK fcc443b

Tree-SHA512: f87cfea3cb2ac716a5c9a507141dcba18cb0e3cbe17a4114ed11fa283c3d38551cc245ef68f8816c51538d492991e71019d20a9ca4acd22af4f99e631c04d33e
@promag
Copy link
Contributor

promag commented Apr 26, 2019

utACK fcc443b.

@hebasto
Copy link
Member

hebasto commented Apr 26, 2019

It seems interface_bitcoin_cli.py is broken in AppVeyor now.

@Sjors
Copy link
Member

Sjors commented Apr 26, 2019

Normally ignoring AppVeyor failures isn't a huge issue, but this PR changed test/config.ini.in.


cli_response = self.nodes[0].cli("-version").send_cli()
assert "Bitcoin Core RPC client version" in cli_response
assert "{} RPC client version".format(self.config['environment']['PACKAGE_NAME']) in cli_response
Copy link
Member

@Sjors Sjors Apr 26, 2019

Choose a reason for hiding this comment

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

Can this be replaced with an assert_equal test? That makes it easier to debug whether there's a problem with the testsuite or the binary in AppVeyor.
(most likely the problem is with the test, since this PR only touched the test)

Copy link
Member

Choose a reason for hiding this comment

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

Note that in other places self is left out, e.g. '/src/bitcoind' + config["environment"]["EXEEXT"]

Copy link
Member

Choose a reason for hiding this comment

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

assert_equal doesn't work because the version is suffixed by the commit

$ ./src/bitcoin-cli -version
Bitcoin Core RPC client version v0.18.99.0-b1e013e4fa

Copy link
Member

Choose a reason for hiding this comment

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

I guess you could strip the commit, but 🤷‍♂️

# test/functional/test_runner.py and test/util/bitcoin-util-test.py

[environment]
PACKAGE_NAME=@PACKAGE_NAME@
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Update, indeed, see #15903

maflcko pushed a commit that referenced this pull request Apr 26, 2019
faebd8c appveyor: Write @PACKAGE_NAME@ to config (MarcoFalke)

Pull request description:

  fix tests which are currently failing on appveyor after #15896

ACKs for commit faebd8:
  Sjors:
    utACK faebd8c if AppVeyor blesses it.
  ryanofsky:
    utACK faebd8c. Not following your own "Please provide clear motivation for your patch" advice maybe, but I gather the motivation is to fix tests which are currently failing on appveyor after #15896?

Tree-SHA512: 645cc9f82a4897659bfd41d0c645e21201c43bceb36a073e7fa9fff6d38e8190e7b23e44f77f18ecf3cd1794a9a11b8cabfb33d1a477e7417d839f9451b8253d
jasonbcox pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Aug 1, 2020
…KAGE_NAME in messages rather than hardcoding Bitcoin Core

Summary:
QA: feature_filelock, interface_bitcoin_cli: Use PACKAGE_NAME in messages rather than hardcoding Bitcoin Core (Luke Dashjr)

bitcoin/bitcoin@fcc443b

---

Backport of Core [[bitcoin/bitcoin#15896 | PR15896]]

Test Plan:
  ninja clean && ninja
  ./test_runner.py feature_filelock interface_bitcoin_cli

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D7107
Munkybooty pushed a commit to Munkybooty/dash that referenced this pull request Nov 14, 2021
… PACKAGE_NAME in messages rather than hardcoding Bitcoin Core

fcc443b QA: feature_filelock, interface_bitcoin_cli: Use PACKAGE_NAME in messages rather than hardcoding Bitcoin Core (Luke Dashjr)

Pull request description:

ACKs for commit fcc443:
  practicalswift:
    utACK fcc443b

Tree-SHA512: f87cfea3cb2ac716a5c9a507141dcba18cb0e3cbe17a4114ed11fa283c3d38551cc245ef68f8816c51538d492991e71019d20a9ca4acd22af4f99e631c04d33e
pravblockc pushed a commit to pravblockc/dash that referenced this pull request Nov 18, 2021
… PACKAGE_NAME in messages rather than hardcoding Bitcoin Core

fcc443b QA: feature_filelock, interface_bitcoin_cli: Use PACKAGE_NAME in messages rather than hardcoding Bitcoin Core (Luke Dashjr)

Pull request description:

ACKs for commit fcc443:
  practicalswift:
    utACK fcc443b

Tree-SHA512: f87cfea3cb2ac716a5c9a507141dcba18cb0e3cbe17a4114ed11fa283c3d38551cc245ef68f8816c51538d492991e71019d20a9ca4acd22af4f99e631c04d33e
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Dec 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants