Skip to content

Conversation

@jnewbery
Copy link
Contributor

@jnewbery jnewbery commented Oct 4, 2016

Adds a new command line parameter to output verbose logging when running bitcoin-util-test.py manually.

@jnewbery
Copy link
Contributor Author

jnewbery commented Oct 4, 2016

Sample output:

~/bitcoin/src$ test/bitcoin-util-test.py --srcdir='.' --verbose
Testing: Creates a blank transaction
PASS
Testing: Creates a blank transaction (output in json)
PASS
Testing: Creates a blank transaction when nothing is piped into bitcoin-tx
PASS
Testing: Creates a blank transaction when nothing is piped into bitcoin-tx (output in json)
PASS
Testing: Deletes a single input from a transaction
PASS
Testing: Deletes a single input from a transaction (output in json)
PASS
Testing: Attempts to delete an input with a bad index from a transaction. Expected to fail.
PASS
Testing: Deletes a single output from a transaction
PASS
Testing: Deletes a single output from a transaction (output in json)
PASS
Testing: Attempts to delete an output with a bad index from a transaction. Expected to fail.
PASS
Testing: Adds an nlocktime to a transaction
PASS
Testing: Adds an nlocktime to a transaction (output in json)
PASS
Testing: Creates a new transaction with three inputs and two outputs
PASS
Testing: Creates a new transaction with three inputs and two outputs (output in json)
PASS
Testing: Creates a new transaction with a single empty output script
PASS
Testing: Creates a new transaction with a single empty output script (output in json)
PASS
Testing: Creates a new transaction with a single input and a single output, and then signs the transaction
PASS
Testing: Creates a new transaction with a single input and a single output, and then signs the transaction (output in json)
PASS
Testing: Attempts to create a new transaction with one input and an output with malformed hex data. Expected to fail
PASS
Testing: Attempts to create a new transaction with one input and an output with no value and malformed hex data. Expected to fail
PASS
Testing: Creates a new transaction with one input, one address output and one data output
PASS
Testing: Creates a new transaction with one input, one address output and one data output. Output in json
PASS
Testing: Creates a new transaction with one input, one address output and one data (zero value) output
PASS
Testing: Creates a new transaction with one input, one address output and one data (zero value) output. Output in json
PASS
Testing: Creates a new transaction with one input with sequence number and one address output
PASS
Testing: Creates a new transaction with one input with sequence number and one address output. Output in json
PASS
Testing: Adds a new input with sequence number to a transaction
PASS
Testing: Adds a new input with sequence number to a transaction. Output in json
PASS

@fanquake fanquake added the Tests label Oct 5, 2016
Copy link
Member

Choose a reason for hiding this comment

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

nit: lines from here down can be changed to use "(output in json)" to match the above.

@fanquake
Copy link
Member

fanquake commented Oct 5, 2016

Getting the same output. etc

bash-3.2$ test/bitcoin-util-test.py --srcdir='.' --verbose
Testing: Creates a blank transaction
PASS
Testing: Creates a blank transaction (output in json)
PASS
.......
Testing: Adds a new input with sequence number to a transaction
PASS
Testing: Adds a new input with sequence number to a transaction. Output in json
PASS

@jnewbery jnewbery force-pushed the verbose-bitcoin-util-output branch from 81a40d6 to 621441a Compare October 5, 2016 13:16
@jnewbery
Copy link
Contributor Author

jnewbery commented Oct 5, 2016

Thanks @fanquake . Descriptions fixed and commits squashed.

@maflcko
Copy link
Member

maflcko commented Oct 5, 2016

utACK 621441a

1 similar comment
@jonasschnelli
Copy link
Contributor

utACK 621441a

@maflcko maflcko merged commit 621441a into bitcoin:master Oct 8, 2016
maflcko pushed a commit that referenced this pull request Oct 8, 2016
621441a add verbose mode to bitcoin-util-test.py (jnewbery)
@jnewbery jnewbery deleted the verbose-bitcoin-util-output branch October 11, 2016 09:07
codablock pushed a commit to codablock/dash that referenced this pull request Jan 12, 2018
621441a add verbose mode to bitcoin-util-test.py (jnewbery)
andvgal pushed a commit to energicryptocurrency/gen2-energi that referenced this pull request Jan 6, 2019
621441a add verbose mode to bitcoin-util-test.py (jnewbery)
zkbot added a commit to zcash/zcash that referenced this pull request Nov 9, 2020
@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.

4 participants