summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-10-03 17:58:36 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2014-10-03 17:58:36 +0200
commit92ba06d58475fd4ab07d8e3b1efa6993f1f02340 (patch)
tree385a511835136fb2d190df05651b03c015690e91 /tests
parentee52b3eab8cc7feb49fa6db964b94b35e2bc8bac (diff)
downloadcrawler-92ba06d58475fd4ab07d8e3b1efa6993f1f02340.tar.gz
crawler-92ba06d58475fd4ab07d8e3b1efa6993f1f02340.tar.bz2
added an experimental curl fetcher
Diffstat (limited to 'tests')
-rw-r--r--tests/GNUmakefile6
-rw-r--r--tests/libcurlpp/GNUmakefile (renamed from tests/curl/GNUmakefile)0
-rw-r--r--tests/libcurlpp/README (renamed from tests/curl/README)0
-rwxr-xr-xtests/libcurlpp/exec_test (renamed from tests/curl/exec_test)0
-rw-r--r--tests/libcurlpp/test1.MUST (renamed from tests/curl/test1.MUST)0
-rw-r--r--tests/libcurlpp/test1.cpp (renamed from tests/curl/test1.cpp)0
-rw-r--r--tests/libcurlpp/test2.MUST (renamed from tests/curl/test2.MUST)0
-rw-r--r--tests/libcurlpp/test2.cpp (renamed from tests/curl/test2.cpp)2
8 files changed, 6 insertions, 2 deletions
diff --git a/tests/GNUmakefile b/tests/GNUmakefile
index a21e409..ae574dd 100644
--- a/tests/GNUmakefile
+++ b/tests/GNUmakefile
@@ -1,9 +1,13 @@
TOPDIR = ..
SUBDIRS = \
- utils logger modules url streamhtmlparser libfetch curl psql sqlite typedetect \
+ utils logger modules url streamhtmlparser libfetch psql sqlite typedetect \
fetcher textwolf
+ifeq ($(WITH_CURL),1)
+SUBDIRS += libcurl
+endif
+
-include $(TOPDIR)/makefiles/gmake/sub.mk
local_all:
diff --git a/tests/curl/GNUmakefile b/tests/libcurlpp/GNUmakefile
index de0462a..de0462a 100644
--- a/tests/curl/GNUmakefile
+++ b/tests/libcurlpp/GNUmakefile
diff --git a/tests/curl/README b/tests/libcurlpp/README
index 747e9a6..747e9a6 100644
--- a/tests/curl/README
+++ b/tests/libcurlpp/README
diff --git a/tests/curl/exec_test b/tests/libcurlpp/exec_test
index fce8214..fce8214 100755
--- a/tests/curl/exec_test
+++ b/tests/libcurlpp/exec_test
diff --git a/tests/curl/test1.MUST b/tests/libcurlpp/test1.MUST
index 08839f6..08839f6 100644
--- a/tests/curl/test1.MUST
+++ b/tests/libcurlpp/test1.MUST
diff --git a/tests/curl/test1.cpp b/tests/libcurlpp/test1.cpp
index d10ef02..d10ef02 100644
--- a/tests/curl/test1.cpp
+++ b/tests/libcurlpp/test1.cpp
diff --git a/tests/curl/test2.MUST b/tests/libcurlpp/test2.MUST
index 08839f6..08839f6 100644
--- a/tests/curl/test2.MUST
+++ b/tests/libcurlpp/test2.MUST
diff --git a/tests/curl/test2.cpp b/tests/libcurlpp/test2.cpp
index 748da14..983f1bd 100644
--- a/tests/curl/test2.cpp
+++ b/tests/libcurlpp/test2.cpp
@@ -60,7 +60,7 @@ int main( int argc, char *argv[] ) {
MemoryWriter w;
if( argc != 2 ) {
- cerr << "usage: test1 <url>" << endl;
+ cerr << "usage: test2 <url>" << endl;
return EXIT_FAILURE;
}
url = argv[1];