Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cmp_tool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dominik Loidolt
cmp_tool
Merge requests
!2
added feature to guess the compression configuration
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
added feature to guess the compression configuration
guess_good_cmp_pars
into
master
Overview
0
Commits
11
Changes
2
Merged
Dominik Loidolt
requested to merge
guess_good_cmp_pars
into
master
3 years ago
Overview
0
Commits
11
Changes
2
if samples = 0 the cmp_tool counts the samples in the data file and uses them
if buffer_length = 0 the 2*samples parameter is used as buffer_length
added feature to guess the compression configuration
some code refactoring
added more detailed error messages
small bug fixes
0
0
Merge request reports
Viewing commit
3ae39083
Prev
Next
Show latest version
2 files
+
247
−
12
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
3ae39083
add test for cmp_guess.c
· 3ae39083
Dominik Loidolt
authored
3 years ago
test/cmp_tool/Makefile
+
3
−
4
View file @ 3ae39083
Edit in single-file editor
Open in Web IDE
Show full file
@@ -3,11 +3,11 @@ SOURCEDIR =
INCLUDES
=
-I
../../include
PATH
+=
CFLAGS
:=
-O0
-W
-Wall
-Wextra
-std
=
gnu99
-Werror
-pedantic
-g3
\
-fprofile-arcs
-ftest-coverage
\
-fanalyzer
-fprofile-arcs
-ftest-coverage
CPPFLAGS
:=
-D__MAIN__
$(
INCLUDES
)
-I
$(
SOURCEDIR
)
LDFLAGS
:=
-lcunit
SOURCES
:=
$(
wildcard
*
.c
)
../../lib/cmp_tool_lib.c ../../lib/cmp_support.c
SOURCES
:=
$(
wildcard
*
.c
)
../../lib/cmp_tool_lib.c ../../lib/cmp_guess.c
\
../../lib/cmp_support.c ../../lib/cmp_icu.c ../../lib/cmp_data_types.c
OBJECTS
:=
$(
patsubst %.c,
$(
BUILDDIR
)
/%.o,
$(
subst
$(
SOURCEDIR
)
/,,
$(
SOURCES
)))
TARGET
:=
test_cmp_tool
@@ -21,6 +21,5 @@ coverage: all
genhtml
--rc
lcov_branch_coverage
=
1
--branch-coverage
coverage.info
--output-directory
out
#firefox out/index.html
clean
:
rm
-r
$(
TARGET
)
*
.gcno
*
.gcda coverage.info out/ tmp_stderr.log
Loading