Tuning test

This commit is contained in:
cpq 2020-12-07 04:18:29 +00:00
parent 21c0024a2f
commit 72019b7427
2 changed files with 5 additions and 3 deletions

View File

@ -15,6 +15,9 @@ matrix:
- os: osx
compiler: clang
script: make mg_prefix
- os: osx
compiler: clang
script: ls -l /usr/include/mbedtls
- os: linux
compiler: msvc98
script: make vc98 vc2017

View File

@ -35,7 +35,7 @@ mg_prefix: mongoose.c mongoose.h
$(CLANG) mongoose.c $(CFLAGS) -c -o /tmp/x.o && nm /tmp/x.o | grep ' T' | grep -v 'mg_' ; test $$? = 1
# C++ build
test++: CLANG = g++ -Wno-deprecated
test++: CLANG = g++ -Wno-deprecated -Wno-missing-field-initializers
test++: unamalgamated
# Make sure we can build from an unamalgamated sources
@ -73,8 +73,7 @@ linux: clean Makefile mongoose.c mongoose.h test/unit_test.c
$(GCC) $(CC) mongoose.c test/unit_test.c $(CFLAGS) $(LDFLAGS) -o unit_test_gcc
$(GCC) ./unit_test_gcc
linux++: CC=g++
linux++: CFLAGS += -Wno-missing-field-initializers
linux++: CC = g++ -Wno-missing-field-initializers
linux++: linux
mongoose.c: $(SRCS) Makefile