forked from jl777/komodo
-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expand unit test coverage #453
Closed
Closed
Changes from 50 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
26843c9
wrap test chain funcs into class
jmjatlanta 803f247
Merge branch 'dev' into jmj_testutils
jmjatlanta 42859e5
Add alert tests
jmjatlanta bc97c3b
fix pub key
jmjatlanta 037d902
Merge branch 'jmj_test_cleanup' into jmj_testutils
jmjatlanta 948988c
Remove temp file
jmjatlanta bae9e3a
properly shutdown tests
jmjatlanta 324a3dd
Move zcash tests to komodo
jmjatlanta fad7afb
serialize block header size test
jmjatlanta 42bec82
mempool tests
jmjatlanta 6e1257d
PoW tests
jmjatlanta defe10d
PoW min difficulty test
jmjatlanta 6a331b8
Remove unnecessary header
jmjatlanta 58aeb73
add txid tests
jmjatlanta abe48f6
Add coin_tests
jmjatlanta e8d9f80
Begin tests of ConnectBlock
jmjatlanta 432c57f
fix for running all tests
jmjatlanta e46aae1
make static adjustable for unit testing
jmjatlanta 399f9fb
Merge branch 'jmj_build_fix' into jmj_testutils
jmjatlanta fc14310
More ConnectBlock tests
jmjatlanta 528d8f6
fix mempool nullptr
jmjatlanta 16291af
Replace ptr with ref
jmjatlanta cfe4608
test double-spend in same block
jmjatlanta 11991b3
Document mempool funcs
jmjatlanta 4d1376d
Merge branch 'jmj_build_fix' into jmj_testutils
jmjatlanta c096f6e
const in myAddtomempool
jmjatlanta 4cf000a
reverse iterate
jmjatlanta 6d62418
More block tests
jmjatlanta 6d87cce
Notary tests
jmjatlanta ee02430
allow debug builds
jmjatlanta a121375
make clean .a files
jmjatlanta 0eaff09
hardforks in own object
jmjatlanta 5da51a3
adjust hardfork defines
jmjatlanta 03229d5
Handle cryptoconditions changes
jmjatlanta 10cbee9
Rebuild libcc.so when dependencies change
jmjatlanta 960fa3a
build cryptoconditions as static (incl Windows)
jmjatlanta 4373f34
addrman no lock in ctor
jmjatlanta cb8c132
enable-debug script param
jmjatlanta 7ecad6a
switch from -O3 to -O2
jmjatlanta 634c1b2
clean komodo_state
jmjatlanta a7d20f8
merge dev into jmj_testutils
jmjatlanta 433a2f5
merge dev into jmj_build_debug3
jmjatlanta 7e09f1d
avoid comparing ptr to int
jmjatlanta e4c6605
Merge branch 'jmj_build_debug3' into jmj_testutils
jmjatlanta cf6af36
Fix locking cs_main in tests
jmjatlanta 76bad69
Make TestWallet derive from CWallet
jmjatlanta 770f6eb
Merge pull request #22 from jmjatlanta/jmj_testutils_wallet
jmjatlanta bcc5248
correctly serialize komodostate records
jmjatlanta e22e9aa
refactor to reduce casting
jmjatlanta 876e824
remove dynamic cast from events
jmjatlanta 0d8e72d
komodo_disconnect no longer used
jmjatlanta 8db798b
Set max witness cache in wallet
jmjatlanta 4c9039c
Merge s6 changes into testutils
jmjatlanta 9ded975
fix miner fee in test
jmjatlanta fe25d9a
Get correct config file
jmjatlanta d4624fd
add test
jmjatlanta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -161,5 +161,5 @@ Makefile.in | |
configure | ||
doc/man/Makefile.in | ||
src/Makefile.in | ||
src/cc/customcc.so | ||
src/cc/libcc.so | ||
src/libcc.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
mingw32_CC=x86_64-w64-mingw32-gcc-posix | ||
mingw32_CXX=x86_64-w64-mingw32-g++-posix | ||
mingw32_CFLAGS=-pipe -std=c11 | ||
mingw32_CXXFLAGS=$(mingw32_CFLAGS) -std=c++11 | ||
mingw32_CXXFLAGS=-pipe -std=c++11 | ||
|
||
mingw32_release_CFLAGS=-O1 | ||
mingw32_release_CXXFLAGS=$(mingw32_release_CFLAGS) | ||
|
||
mingw32_debug_CFLAGS=-O1 | ||
mingw32_debug_CXXFLAGS=$(mingw32_debug_CFLAGS) | ||
mingw32_release_CFLAGS=-g -O2 | ||
mingw32_release_CXXFLAGS=$(mingw32_CXXFLAGS) $(mingw32_release_CFLAGS) | ||
|
||
mingw32_debug_CFLAGS=-g -O0 | ||
mingw32_debug_CPPFLAGS=-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC | ||
mingw32_debug_CXXFLAGS=$(mingw32_CXXFLAGS) $(mingw32_debug_CFLAGS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
rm -Rf node_0 | ||
rm -Rf node_1 | ||
rm -Rf __pycache__/ | ||
rm TONYCI_7776 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aha, renamed to zcash_gtest as in fact it tests just zcash features