diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-03-25 07:53:21 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-03-25 07:54:53 +0100 |
| commit | e3f5d4338d0305a398817279e36ef2d0cfd2fd2b (patch) | |
| tree | d3343e642bf9a48e910db638de687a60e1f7bf71 /src/test/test_bitcoin.cpp | |
| parent | Fix regression tests (diff) | |
| download | discoin-e3f5d4338d0305a398817279e36ef2d0cfd2fd2b.tar.xz discoin-e3f5d4338d0305a398817279e36ef2d0cfd2fd2b.zip | |
Fix test build after d138598
Building the tests was giving some vague error message about a doubly-defined
symbol.
The solution is to define ShutdownRequested in test_bitcoin.cpp as well
so that init.cpp does not get pulled in.
Diffstat (limited to 'src/test/test_bitcoin.cpp')
| -rw-r--r-- | src/test/test_bitcoin.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index 3b75aad14..2d993e24d 100644 --- a/src/test/test_bitcoin.cpp +++ b/src/test/test_bitcoin.cpp @@ -84,3 +84,8 @@ void StartShutdown() exit(0); } +bool ShutdownRequested() +{ + return false; +} + |