summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/re2/re2.cpp (renamed from config.tests/srtp/srtp.cpp)8
-rw-r--r--config.tests/re2/re2.pro3
-rw-r--r--config.tests/srtp/srtp.pro3
3 files changed, 7 insertions, 7 deletions
diff --git a/config.tests/srtp/srtp.cpp b/config.tests/re2/re2.cpp
index 7dfcc832..f2c0b017 100644
--- a/config.tests/srtp/srtp.cpp
+++ b/config.tests/re2/re2.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2016 The Qt Company Ltd.
+** Copyright (C) 2017 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtWebEngine module of the Qt Toolkit.
@@ -26,10 +26,10 @@
**
****************************************************************************/
-#include <srtp/srtp.h>
+#include <re2/re2.h>
int main(int, char **)
{
- err_status_t status = srtp_init();
- return status == err_status_ok;
+ RE2 re2("dummytest");
+ return 0;
}
diff --git a/config.tests/re2/re2.pro b/config.tests/re2/re2.pro
new file mode 100644
index 00000000..b1a26d91
--- /dev/null
+++ b/config.tests/re2/re2.pro
@@ -0,0 +1,3 @@
+SOURCES += re2.cpp
+LIBS += -lre2
+CONFIG -= qt
diff --git a/config.tests/srtp/srtp.pro b/config.tests/srtp/srtp.pro
deleted file mode 100644
index 2151d64a..00000000
--- a/config.tests/srtp/srtp.pro
+++ /dev/null
@@ -1,3 +0,0 @@
-linux:SOURCES += srtp.cpp
-LIBS += -lsrtp
-CONFIG -= qt