Ver código fonte

tests: fix qt payment test

Now that boost no longer automatically initializes openssl, we have to
do it ourselves.
pull/1/head
Cory Fields 7 anos atrás committed by Wladimir J. van der Laan
pai
commit
6e996d39da
  1. 4
      src/qt/test/test_main.cpp

4
src/qt/test/test_main.cpp

@ -17,6 +17,8 @@ @@ -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[]) @@ -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;

Carregando…
Cancelar
Salvar