Skip to content

Conversation

@maflcko
Copy link
Member

@maflcko maflcko commented Oct 9, 2018

The header file was moved to test in #4160.

Currently make clean fails because da32bd8 assumed that the BITCOIN_TESTS only contains cpp files.

The make clean failure can be solved by inlining the header file.

@maflcko maflcko added the Tests label Oct 9, 2018
@maflcko
Copy link
Member Author

maflcko commented Oct 9, 2018

Instead of inlining, I could move it to BITCOIN_TEST_SUITE, if people prefer.

@murrayn
Copy link
Contributor

murrayn commented Oct 9, 2018

I was going to change da32bd8 but I think your BITCOIN_TEST_SUITE suggestion seems better.

Maybe BITCOIN_TESTS should be renamed BITCOIN_TESTS_CPP for clarity?

@practicalswift
Copy link
Contributor

Concept ACK

Let's get this merged quickly – make clean is crucial :-)

@Empact
Copy link
Contributor

Empact commented Oct 10, 2018

I like the idea of moving to BITCOIN_TEST_SUITE.

@jamesob
Copy link
Contributor

jamesob commented Oct 10, 2018

IMO we should do the simplest thing possible to make make clean work again (#14455) and only after that think about shuffling stuff around.

@maflcko maflcko closed this Oct 10, 2018
@maflcko maflcko deleted the Mf1810-testScriptNumHeader branch October 10, 2018 03:38
maflcko pushed a commit to maflcko/bitcoin-core that referenced this pull request Oct 10, 2018
a48e44b Fix CLEAN_BITCOIN_TEST to remove .log files for all BITCOIN_TESTS files (James O'Beirne)

Pull request description:

  My preferred alternative to bitcoin#14440 (I'm too lazy to review an entire file move). This just applies a `.log` suffix addition to all `BITCOIN_TESTS` files for the purposes of cleaning, and thus doesn't erroneously remove test/scriptnum10.h.

Tree-SHA512: 06a0d9fb2c4851f4e74215aa4bca9cf81f49787f16c46b0172e5c1cf18ca744d747c5b0c1564cac433e0dea29b0afabd2d95f0f58a0157d1e05b2b7cb7800e00
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jul 17, 2021
a48e44b Fix CLEAN_BITCOIN_TEST to remove .log files for all BITCOIN_TESTS files (James O'Beirne)

Pull request description:

  My preferred alternative to bitcoin#14440 (I'm too lazy to review an entire file move). This just applies a `.log` suffix addition to all `BITCOIN_TESTS` files for the purposes of cleaning, and thus doesn't erroneously remove test/scriptnum10.h.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants