Skip to content

Commit f67e843

Browse files
committed
fix tests
1 parent 4f9ebd8 commit f67e843

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ ROOT_DIR = $(realpath $(CWD)/..)
1010
ENV ?= -e Tmp=. -e WINEDEBUG=-all
1111
DOCKER_BIN ?= docker
1212
DOCKER ?= $(DOCKER_BIN) run --platform linux/amd64 --rm $(ENV) -v $(ROOT_DIR):$(ROOT_DIR) -w $(CWD)
13-
VCFLAGS ?= /nologo /W3 /O2 /MD /I.
1413
IPV6 ?= 1
1514
ASAN ?= -fsanitize=address,undefined,alignment -fno-sanitize-recover=all -fno-omit-frame-pointer -fno-common
1615
ASAN_OPTIONS ?= detect_leaks=1
@@ -186,14 +185,17 @@ riscv: DEFS += -DMG_ENABLE_POSIX_FS=0 -DMG_ENABLE_TCPIP=1 -DMG_ENABLE_TCPIP_DRIV
186185
riscv: mongoose.h $(SRCS)
187186
$(DOCKER) mdashnet/riscv riscv-none-elf-gcc -march=rv32imc -mabi=ilp32 $(SRCS) $(OPTS) $(WARN) $(INCS) $(DEFS) $(TFLAGS) -o unit_test
188187

188+
vc98: VCFLAGS = /nologo /W3 /O2 /MD /I. $(DEFS) $(TFLAGS)
189189
vc98: Makefile mongoose.h $(SRCS)
190190
$(DOCKER) mdashnet/vc98 wine cl $(SRCS) $(VCFLAGS) $(DEFS) $(TFLAGS) /Fe$@.exe
191191
$(DOCKER) mdashnet/vc98 wine $@.exe
192192

193+
vc17: VCFLAGS = /nologo /W3 /O2 /MD /I. $(DEFS) $(TFLAGS)
193194
vc17: Makefile mongoose.h $(SRCS)
194195
$(DOCKER) mdashnet/vc17 wine64 cl $(SRCS) $(VCFLAGS) $(DEFS) $(TFLAGS) /Fe$@.exe
195196
$(DOCKER) mdashnet/vc17 wine64 $@.exe
196197

198+
vc22: VCFLAGS = /nologo /W3 /O2 /MD /I. $(DEFS) $(TFLAGS)
197199
vc22: Makefile mongoose.h $(SRCS)
198200
$(DOCKER) mdashnet/vc22 wine64 cl $(SRCS) $(VCFLAGS) $(DEFS) $(TFLAGS) /Fe$@.exe
199201
$(DOCKER) mdashnet/vc22 wine64 $@.exe

0 commit comments

Comments
 (0)