Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
fac0e9b0
Commit
fac0e9b0
authored
Sep 09, 2014
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved unit test to dedicated dir
parent
a3cf67c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
Makefile
test/Makefile
+21
-0
unit_test.c
test/unit_test.c
+0
-0
No files found.
test/Makefile
0 → 100644
View file @
fac0e9b0
# 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
*
examples
/unit_test.c
→
test
/unit_test.c
View file @
fac0e9b0
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment