From 5675cad407f158f3c7263e1326496ad3b2216e2b Mon Sep 17 00:00:00 2001 From: yhirose Date: Sun, 22 Dec 2019 21:07:26 -0500 Subject: [PATCH] Added proxy test in Makefile --- test/Makefile | 3 +++ test/test_proxy_docker/Dockerfile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/test/Makefile b/test/Makefile index 431f4b7..dab6fdc 100644 --- a/test/Makefile +++ b/test/Makefile @@ -8,6 +8,9 @@ ZLIB_SUPPORT = -DCPPHTTPLIB_ZLIB_SUPPORT -lz all : test ./test +proxy : test_proxy + ./test_proxy + test : test.cc ../httplib.h Makefile cert.pem $(CXX) -o test $(CXXFLAGS) test.cc gtest/gtest-all.cc gtest/gtest_main.cc $(OPENSSL_SUPPORT) $(ZLIB_SUPPORT) -pthread diff --git a/test/test_proxy_docker/Dockerfile b/test/test_proxy_docker/Dockerfile index 4974d00..cd20938 100644 --- a/test/test_proxy_docker/Dockerfile +++ b/test/test_proxy_docker/Dockerfile @@ -1,5 +1,5 @@ FROM centos:7 -LABEL maintainer="yuji.hirose.bug@gmail.com" + ARG auth="basic" ARG port="3128"