aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoin.cpp
diff options
context:
space:
mode:
authorMatt Corallo <matt@bluematt.me>2012-02-10 17:25:36 -0500
committerMatt Corallo <matt@bluematt.me>2012-02-10 17:47:00 -0500
commit245484679adbde8df6b0b01baa24393ea20a7aed (patch)
tree7a8a53463ab47ae2d6d8749212e8fc13199c3e05 /src/qt/bitcoin.cpp
parentcce89ead184c6b61a3361e598cc7553512730a72 (diff)
Add Bitcoin-Qt test suite with some bitcoin: URL Tests to start.
Diffstat (limited to 'src/qt/bitcoin.cpp')
-rw-r--r--src/qt/bitcoin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp
index b25216fe98..8c4b0e6c10 100644
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -131,6 +131,7 @@ std::string _(const char* psz)
return QCoreApplication::translate("bitcoin-core", psz).toStdString();
}
+#ifndef BITCOIN_QT_TEST
int main(int argc, char *argv[])
{
// Do this early as we don't want to bother initializing if we are just calling IPC
@@ -257,3 +258,4 @@ int main(int argc, char *argv[])
}
return 0;
}
+#endif // BITCOIN_QT_TEST