Browse Source

Added proxy test in Makefile

yhirose 6 years ago
parent
commit
5675cad407
2 changed files with 4 additions and 1 deletions
  1. 3 0
      test/Makefile
  2. 1 1
      test/test_proxy_docker/Dockerfile

+ 3 - 0
test/Makefile

@@ -8,6 +8,9 @@ ZLIB_SUPPORT = -DCPPHTTPLIB_ZLIB_SUPPORT -lz
 all : test
 all : test
 	./test
 	./test
 
 
+proxy : test_proxy
+	./test_proxy
+
 test : test.cc ../httplib.h Makefile cert.pem
 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
 	$(CXX) -o test $(CXXFLAGS) test.cc gtest/gtest-all.cc gtest/gtest_main.cc $(OPENSSL_SUPPORT) $(ZLIB_SUPPORT) -pthread
 
 

+ 1 - 1
test/test_proxy_docker/Dockerfile

@@ -1,5 +1,5 @@
 FROM centos:7
 FROM centos:7
-LABEL maintainer="[email protected]"
+
 ARG auth="basic"
 ARG auth="basic"
 ARG port="3128"
 ARG port="3128"