Browse Source

tests: fix qt payment test

Now that boost no longer automatically initializes openssl, we have to
do it ourselves.
tags/v0.15.1
Cory Fields 7 years ago
parent
commit
6e996d39da
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/qt/test/test_main.cpp

+ 4
- 0
src/qt/test/test_main.cpp View File

@@ -17,6 +17,8 @@
#include <QObject>
#include <QTest>

#include <openssl/ssl.h>

#if defined(QT_STATICPLUGIN) && QT_VERSION < 0x050000
#include <QtPlugin>
Q_IMPORT_PLUGIN(qcncodecs)
@@ -36,6 +38,8 @@ int main(int argc, char *argv[])
QCoreApplication app(argc, argv);
app.setApplicationName("Bitcoin-Qt-test");

SSL_library_init();

URITests test1;
if (QTest::qExec(&test1) != 0)
fInvalid = true;

Loading…
Cancel
Save