From 455fcf0bb13baa18eac12d265ebdb743cb8815f3 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Thu, 5 Jan 2023 14:32:48 +0100 Subject: Added tests (WIP) --- tests/Makefile | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'tests/Makefile') diff --git a/tests/Makefile b/tests/Makefile index 4522952..00c50a1 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -44,8 +44,19 @@ UNITS=\ webserver.cpp TESTSRC=\ + test-archive.cpp \ + test-auth.cpp \ + test-config.cpp \ test-environment.cpp \ + test-http.cpp \ + test-https.cpp \ + test-plugin.cpp \ + test-privileges.cpp \ + test-response.cpp \ + test-server.cpp \ + test-statistics.cpp \ test-webserver.cpp \ + $(PROGSRC) build: $(PROJECTNAME) @@ -71,16 +82,12 @@ dep: $(TESTSRC:.cpp=.d) auth.o: ../auth.cpp $(CXX) $(CXXFLAGS) $(CXXTESTFLAGS) -c $< -o $@ -base64.o: ../base64.cpp - $(CXX) $(CXXFLAGS) $(CXXTESTFLAGS) -c $< -o $@ config.o: ../config.cpp $(CXX) $(CXXFLAGS) $(CXXTESTFLAGS) -c $< -o $@ http.o: ../http.cpp $(CXX) $(CXXFLAGS) $(CXXTESTFLAGS) -c $< -o $@ https.o: ../https.cpp $(CXX) $(CXXFLAGS) $(CXXTESTFLAGS) -c $< -o $@ -os.o: ../os.cpp - $(CXX) $(CXXFLAGS) $(CXXTESTFLAGS) -c $< -o $@ plugin.o: ../plugin.cpp $(CXX) $(CXXFLAGS) $(CXXTESTFLAGS) -c $< -o $@ privileges.o: ../privileges.cpp -- cgit v1.2.3