summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/tests/llcorehttp_test.cpp
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2012-05-09 10:23:02 -0400
committerMonty Brandenberg <monty@lindenlab.com>2012-05-09 10:23:02 -0400
commit30d72b041f3221b903ac11c0054dc221b0c0329b (patch)
treed05e2609ecf8a5c09d46a5e63ce4611da837c803 /indra/llcorehttp/tests/llcorehttp_test.cpp
parent7a9acdc68a454886efc38cd4558b64856f4a9a04 (diff)
Added correct libcurl initialization to the unit tests which makes Windows builds reliable.
It's the right thing to do and introduced a scoped version for convenience in tests.
Diffstat (limited to 'indra/llcorehttp/tests/llcorehttp_test.cpp')
-rw-r--r--indra/llcorehttp/tests/llcorehttp_test.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/llcorehttp/tests/llcorehttp_test.cpp b/indra/llcorehttp/tests/llcorehttp_test.cpp
index da811adb19..0ee767fdca 100644
--- a/indra/llcorehttp/tests/llcorehttp_test.cpp
+++ b/indra/llcorehttp/tests/llcorehttp_test.cpp
@@ -34,9 +34,6 @@
// This works:
#include "../test/lltut.h"
-#include <curl/curl.h>
-#include <openssl/crypto.h>
-
// Pull in each of the test sets
#include "test_httpstatus.hpp"
#include "test_refcounted.hpp"
@@ -49,7 +46,7 @@
unsigned long ssl_thread_id_callback(void);
void ssl_locking_callback(int mode, int type, const char * file, int line);
-#if 0 // lltut provides main
+#if 0 // lltut provides main and runner
namespace tut
{