mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-01 05:52:32 +07:00
Merge pull request #3215 from cesanta/tests
fix mingw[++] tests, add local MQTTS
This commit is contained in:
+3
-2
@@ -200,11 +200,12 @@ vc22: Makefile mongoose.h $(SRCS)
|
||||
$(DOCKER) mdashnet/vc22 wine64 $@.exe
|
||||
|
||||
mingw: Makefile mongoose.h $(SRCS)
|
||||
$(DOCKER) mdashnet/mingw x86_64-w64-mingw32-gcc $(SRCS) -W -Wall -Werror -I. $(DEFS) -lwsock32 -lbcrypt -o $@.exe
|
||||
$(DOCKER) mdashnet/mingw x86_64-w64-mingw32-gcc $(SRCS) -W -Wall -Werror -I. $(DEFS) $(TFLAGS) -lwsock32 -lbcrypt -o $@.exe
|
||||
$(DOCKER) mdashnet/mingw wine64 $@.exe
|
||||
|
||||
mingw++: Makefile mongoose.h $(SRCS)
|
||||
$(DOCKER) mdashnet/mingw x86_64-w64-mingw32-g++ $(SRCS) -W -Wall -Werror -I. $(DEFS) -lwsock32 -lbcrypt -o $@.exe
|
||||
$(DOCKER) mdashnet/mingw x86_64-w64-mingw32-g++ $(SRCS) -W -Wall -Werror -I. $(DEFS) $(TFLAGS) -lwsock32 -lbcrypt -o $@.exe
|
||||
@echo "NOT RUNNING"
|
||||
|
||||
linux-libs: CFLAGS += -fPIC
|
||||
linux-libs: LDFLAGS += -Wl,-soname,libmongoose.so.$(VERSION)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
sudo apt-get -y install mosquitto
|
||||
sudo cp test/mosquitto.conf /etc/mosquitto/conf.d/
|
||||
sudo cp test/certs/ca.crt /etc/mosquitto/certs/
|
||||
sudo cp test/certs/serverc.crt /etc/mosquitto/certs/
|
||||
sudo cp test/certs/serverc.key /etc/mosquitto/certs/
|
||||
sudo cp test/certs/server.crt /etc/mosquitto/certs/
|
||||
sudo cp test/certs/server.key /etc/mosquitto/certs/
|
||||
sudo chmod a+w /var/log/mosquitto/*
|
||||
sudo mosquitto -c /etc/mosquitto/mosquitto.conf &
|
||||
|
||||
Reference in New Issue
Block a user