Gavin Andresen
4d51be1cf3
Suppress output when running unit tests.
...
This does two things:
1) Now does not output to debug.log if -printtodebugger flag is passed
2) Unit tests set -printtodebugger so only test results are output to stdout
Note that -printtodebugger only actually prints to the debugger on Windows.
12 years ago
Luke Dashjr
148e107da6
Run BDB disk-less for test_bitcoin
13 years ago
Wladimir J. van der Laan
641cfb1456
Fix build of testcases after commit 0f10b21719
13 years ago
Wladimir J. van der Laan
239c11d0dd
Make testcases build, prevent windows symbol collision
13 years ago
Gavin Andresen
922e8e2929
Replace OP_EVAL (BIP 12) with Pay-to-script-hash (BIP 16).
13 years ago
Gavin Andresen
cc40ba2151
Global fixture to send output to console instead of debug.log
13 years ago
Gavin Andresen
1466b8b78a
Rework unit tests so test_bitcoin.cpp does not #include them all
13 years ago
Gavin Andresen
eb5fff9e16
Moved checkpoints out of main, to prep for using them to help prevent DoS attacks
13 years ago
Wladimir J. van der Laan
2f7f2a5fca
remove possibility of 63 bit overflow in ParseMoney
...
- also, add unit tests for various functions in util.cpp/util.h
13 years ago
Nils Schneider
6ccff2cbde
remove cryptopp dependency, add simple unittest for SHA256Transform()
13 years ago
Pieter Wuille
e93bf37e86
Test case for base64 encode/decode
13 years ago
Gavin Andresen
15f3ad4dbd
Framework for banning mis-behaving peers
13 years ago
Matt Corallo
2c3691d53d
Cleanup test suite output to be more useful.
14 years ago
Matt Corallo
3c8cecda1f
Add file for transaction tests.
14 years ago
Vegard Nossum
a8330e0049
Add a file for script tests
14 years ago
Vegard Nossum
e707d29dd6
Fix testing setup
...
There were some problems with the existing testing setup:
- Makefile rules for test-file compilation used CFLAGS instead of
CXXFLAGS in makefile.unix
14 years ago
Gavin Andresen
8baf865c94
Boost unit-testing framework.
...
make -f makefile.{unix,osx,mingw} test_bitcoin
to compile dumb, do-almost-nothing placeholder unit tests.
14 years ago