We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea850cb commit 7c303bbCopy full SHA for 7c303bb
test/Makefile
@@ -48,7 +48,15 @@ all : test test_split
48
./test
49
50
proxy : test_proxy
51
- ./test_proxy
+ @echo "Starting proxy server..."
52
+ cd proxy && \
53
+ docker-compose up -d
54
+ @echo "Running proxy tests..."
55
+ ./test_proxy; \
56
+ exit_code=$$?; \
57
+ echo "Stopping proxy server..."; \
58
+ docker-compose down; \
59
+ exit $$exit_code
60
61
test : test.cc include_httplib.cc ../httplib.h Makefile cert.pem
62
$(CXX) -o $@ -I.. $(CXXFLAGS) test.cc include_httplib.cc $(TEST_ARGS)
0 commit comments