Quellcode durchsuchen

Re-Add Unit tests for Linux

bel vor 11 Jahren
Ursprung
Commit
c002a6f1a0
2 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 2 1
      Makefile
  2. 1 0
      RELEASE_NOTES.md

+ 2 - 1
Makefile

@@ -35,7 +35,7 @@ UNAME := $(shell uname)
 DOCUMENT_ROOT = $(HTMLDIR)
 PORTS = 8080
 
-BUILD_DIRS += $(BUILD_DIR) $(BUILD_DIR)/src $(BUILD_DIR)/test
+BUILD_DIRS += $(BUILD_DIR) $(BUILD_DIR)/src
 
 LIB_SOURCES = src/civetweb.c
 LIB_INLINE  = src/mod_lua.inl src/md5.inl
@@ -51,6 +51,7 @@ OBJECTS = $(LIB_SOURCES:.c=.o) $(APP_SOURCES:.c=.o)
 # to this variable so we can run lua-specific unit tests.
 ifeq ($(MAKECMDGOALS), unit_test)
 OBJECTS =
+BUILD_DIRS += $(BUILD_DIR)/test
 endif
 
 # only set main compile options if none were chosen

+ 1 - 0
RELEASE_NOTES.md

@@ -5,6 +5,7 @@ Release Notes v1.6 (Under Development)
 Changes
 -------
 
+- Re-Add unit tests (jmc-)
 - Allow to specify title and tray icon for the Windows standalone server (bel)
 - Fix minor memory leaks (bel)
 - Redirect all memory allocation/deallocation through mg functions which may be overwritten (bel)