diff options
Diffstat (limited to 'src/selftest.cpp')
| -rw-r--r-- | src/selftest.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/selftest.cpp b/src/selftest.cpp index eed6779..034e1f7 100644 --- a/src/selftest.cpp +++ b/src/selftest.cpp | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | #include "walletcmd.h" | 13 | #include "walletcmd.h" |
| 14 | 14 | ||
| 15 | extern int RunPoolStratumSelfTest(); | 15 | extern int RunPoolStratumSelfTest(); |
| 16 | extern int RunPayoutLedgerSelfTest(); | ||
| 16 | 17 | ||
| 17 | // Test results go to the terminal, not to debug.log. | 18 | // Test results go to the terminal, not to debug.log. |
| 18 | // | 19 | // |
| @@ -1573,12 +1574,14 @@ int RunSelfTest(const std::string& name) | |||
| 1573 | return RunConsensusLimitsSelfTest(); | 1574 | return RunConsensusLimitsSelfTest(); |
| 1574 | if (name == "pool-stratum") | 1575 | if (name == "pool-stratum") |
| 1575 | return RunPoolStratumSelfTest(); | 1576 | return RunPoolStratumSelfTest(); |
| 1577 | if (name == "payout-ledger") | ||
| 1578 | return RunPayoutLedgerSelfTest(); | ||
| 1576 | if (name == "parse-money") | 1579 | if (name == "parse-money") |
| 1577 | return RunParseMoneySelfTest(); | 1580 | return RunParseMoneySelfTest(); |
| 1578 | if (name == "socks5-proxy") | 1581 | if (name == "socks5-proxy") |
| 1579 | return RunSocks5ProxySelfTest(); | 1582 | return RunSocks5ProxySelfTest(); |
| 1580 | 1583 | ||
| 1581 | printf("Unknown self-test '%s'\n", name.c_str()); | 1584 | printf("Unknown self-test '%s'\n", name.c_str()); |
| 1582 | printf("Known self-tests: wallet-keypool, wallet-hd, wallet-format, wallet-crypto, wallet-encrypt, net-message, consensus-limits, pool-stratum, parse-money, socks5-proxy\n"); | 1585 | printf("Known self-tests: wallet-keypool, wallet-hd, wallet-format, wallet-crypto, wallet-encrypt, net-message, consensus-limits, pool-stratum, payout-ledger, parse-money, socks5-proxy\n"); |
| 1583 | return 1; | 1586 | return 1; |
| 1584 | } | 1587 | } |