mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-26 20:38:25 +00:00
Moved unit test to dedicated dir
This commit is contained in:
1 parent
a3cf67c380
commit
fac0e9b0ac
2 files changed
+21
No files matched your search
@@ -0,0 +1,21 @@
|
|||||||
|
# Copyright (c) 2014 Cesanta Software
|
||||||
|
# All rights reserved
|
||||||
|
|
||||||
|
PROG = unit_test
|
||||||
|
PROF_FLAGS = -fprofile-arcs -ftest-coverage -g -O0 -DGUI
|
||||||
|
CFLAGS = -W -Wall -I.. $(PROF_FLAGS) $(CFLAGS_EXTRA)
|
||||||
|
SOURCES = $(PROG).c
|
||||||
|
|
||||||
|
all: $(PROG)
|
||||||
|
./$(PROG)
|
||||||
|
gcov -b $(PROG).c | egrep '^(File|Lines)'
|
||||||
|
|
||||||
|
$(PROG): $(SOURCES) Makefile
|
||||||
|
$(CC) -o $(PROG) $(SOURCES) $(CFLAGS) -ldl -lssl
|
||||||
|
|
||||||
|
win:
|
||||||
|
wine cl $(SOURCES) /MD /nologo /DNDEBUG /O1 /Fe$(PROG).exe
|
||||||
|
wine $(PROG).exe
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf $(PROG) *.exe *.dSYM *.obj *.exp .*o *.lib *.gc*
|
||||||
File renamed without changes.
Reference in new issue
Block a user