mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-30 21:18:25 +00:00
Tuning test
This commit is contained in:
1 parent
21c0024a2f
commit
72019b7427
2 files changed
+5
-3
No files matched your search
@@ -15,6 +15,9 @@ matrix:
|
|||||||
- os: osx
|
- os: osx
|
||||||
compiler: clang
|
compiler: clang
|
||||||
script: make mg_prefix
|
script: make mg_prefix
|
||||||
|
- os: osx
|
||||||
|
compiler: clang
|
||||||
|
script: ls -l /usr/include/mbedtls
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: msvc98
|
compiler: msvc98
|
||||||
script: make vc98 vc2017
|
script: make vc98 vc2017
|
||||||
|
|||||||
@@ -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
|
$(CLANG) mongoose.c $(CFLAGS) -c -o /tmp/x.o && nm /tmp/x.o | grep ' T' | grep -v 'mg_' ; test $$? = 1
|
||||||
|
|
||||||
# C++ build
|
# C++ build
|
||||||
test++: CLANG = g++ -Wno-deprecated
|
test++: CLANG = g++ -Wno-deprecated -Wno-missing-field-initializers
|
||||||
test++: unamalgamated
|
test++: unamalgamated
|
||||||
|
|
||||||
# Make sure we can build from an unamalgamated sources
|
# 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) $(CC) mongoose.c test/unit_test.c $(CFLAGS) $(LDFLAGS) -o unit_test_gcc
|
||||||
$(GCC) ./unit_test_gcc
|
$(GCC) ./unit_test_gcc
|
||||||
|
|
||||||
linux++: CC=g++
|
linux++: CC = g++ -Wno-missing-field-initializers
|
||||||
linux++: CFLAGS += -Wno-missing-field-initializers
|
|
||||||
linux++: linux
|
linux++: linux
|
||||||
|
|
||||||
mongoose.c: $(SRCS) Makefile
|
mongoose.c: $(SRCS) Makefile
|
||||||
|
|||||||
Reference in new issue
Block a user