aboutsummaryrefslogtreecommitdiff
path: root/src/test/alert_tests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* included-tests: generate binary data from test files for inclusion into test ↵Cory Fields2013-09-161-18/+5
| | | | | | | | | | | | | | | | | | | | | | binaries This change moves test data into the binaries rather than reading them from the disk at runtime. Advantages: - Tests become distributable - Cross-compile friendly. Build on one machine and execute in an arbitrary location on another. - Easier testing for backports. Users can verify that tests pass without having to track down corresponding test data. - More trustworthy test results and easier quality assurance as tests make fewer assumptions about their environment. - Tests could theoretically run at client/daemon startup and exit on failure. Disadvantages: - Required 'hexdump' build-dependency. This is a standard bsd tool that should be usable everywhere. It is likely already installed on all build-machines. - Tests can no longer be fudged after build by altering test-data.
* Bugfix: Since test_bitcoin is being built and run inside src/test/, try ↵Luke Dashjr2013-09-101-1/+4
| | | | using relative directories from that point
* -alertnotify=<cmd>Gavin Andresen2013-03-191-29/+82
| | | | | | Runs a shell command when an AppliesToMe() alert is received. %s in the <cmd> string is replaced with the alert.strStatusBar message.
* Some unit tests for CAlertGavin Andresen2013-03-191-0/+132