Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mms-engine
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
mer-core
mms-engine
Commits
3f72909a
Commit
3f72909a
authored
Mar 12, 2016
by
Slava Monich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[test] Allow to specify full path to test_mms_codec
parent
6c87ce70
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mms-lib/test/test_mms_codec/test_mms_codec.c
mms-lib/test/test_mms_codec/test_mms_codec.c
+2
-1
No files found.
mms-lib/test/test_mms_codec/test_mms_codec.c
View file @
3f72909a
...
...
@@ -29,7 +29,8 @@ test_file(
{
GError
*
error
=
NULL
;
char
*
path
=
g_strconcat
(
DATA_DIR
,
file
,
NULL
);
GMappedFile
*
map
=
g_mapped_file_new
(
path
,
FALSE
,
&
error
);
const
char
*
fname
=
g_file_test
(
path
,
G_FILE_TEST_EXISTS
)
?
path
:
file
;
GMappedFile
*
map
=
g_mapped_file_new
(
fname
,
FALSE
,
&
error
);
g_free
(
path
);
if
(
map
)
{
struct
mms_message
*
msg
=
g_new0
(
struct
mms_message
,
1
);
...
...
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