diff options
Diffstat (limited to 'src/selftest.cpp')
| -rw-r--r-- | src/selftest.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/selftest.cpp b/src/selftest.cpp index ff0289b..fadc959 100644 --- a/src/selftest.cpp +++ b/src/selftest.cpp | |||
| @@ -10,6 +10,8 @@ | |||
| 10 | #include "selftest.h" | 10 | #include "selftest.h" |
| 11 | #include "walletcmd.h" | 11 | #include "walletcmd.h" |
| 12 | 12 | ||
| 13 | extern int RunPoolStratumSelfTest(); | ||
| 14 | |||
| 13 | // Test results go to the terminal, not to debug.log. | 15 | // Test results go to the terminal, not to debug.log. |
| 14 | // | 16 | // |
| 15 | // printf in this tree is OutputDebugStringF, which writes into the data | 17 | // printf in this tree is OutputDebugStringF, which writes into the data |
| @@ -1234,8 +1236,10 @@ int RunSelfTest(const std::string& name) | |||
| 1234 | return RunNetMessageSelfTest(); | 1236 | return RunNetMessageSelfTest(); |
| 1235 | if (name == "consensus-limits") | 1237 | if (name == "consensus-limits") |
| 1236 | return RunConsensusLimitsSelfTest(); | 1238 | return RunConsensusLimitsSelfTest(); |
| 1239 | if (name == "pool-stratum") | ||
| 1240 | return RunPoolStratumSelfTest(); | ||
| 1237 | 1241 | ||
| 1238 | printf("Unknown self-test '%s'\n", name.c_str()); | 1242 | printf("Unknown self-test '%s'\n", name.c_str()); |
| 1239 | printf("Known self-tests: wallet-keypool, wallet-hd, wallet-format, wallet-crypto, wallet-encrypt, net-message, consensus-limits\n"); | 1243 | printf("Known self-tests: wallet-keypool, wallet-hd, wallet-format, wallet-crypto, wallet-encrypt, net-message, consensus-limits, pool-stratum\n"); |
| 1240 | return 1; | 1244 | return 1; |
| 1241 | } | 1245 | } |