Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
LabComm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anders Blomdell
LabComm
Commits
eaf4511a
Commit
eaf4511a
authored
12 years ago
by
Sven Robertz
Browse files
Options
Downloads
Patches
Plain Diff
minor fixes
parent
78559879
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/c/labcomm_private.h
+1
-1
1 addition, 1 deletion
lib/c/labcomm_private.h
lib/c/test/test_labcomm_errors
+0
-0
0 additions, 0 deletions
lib/c/test/test_labcomm_errors
lib/c/test/test_labcomm_errors.c
+3
-3
3 additions, 3 deletions
lib/c/test/test_labcomm_errors.c
with
4 additions
and
4 deletions
lib/c/labcomm_private.h
+
1
−
1
View file @
eaf4511a
...
...
@@ -290,7 +290,7 @@ LABCOMM_ENCODE(double, double)
*/
static
inline
void
labcomm_pack32
(
labcomm_writer_t
*
w
,
unsigned
int
data
)
{
unsigned
int
tmp
,
i
;
unsigned
int
tmp
;
tmp
=
data
;
...
...
This diff is collapsed.
Click to expand it.
lib/c/test/test_labcomm_errors
deleted
100755 → 0
+
0
−
0
View file @
78559879
File deleted
This diff is collapsed.
Click to expand it.
lib/c/test/test_labcomm_errors.c
+
3
−
3
View file @
eaf4511a
...
...
@@ -142,8 +142,8 @@ int test_dec_missing_do_decode_one()
int
main
()
{
printf
(
"####> Begin tests.
\n
"
);
size_
t
nbr_succeed
=
0
;
size_
t
nbr_tests
=
6
;
// Increment this when new tests are written.
unsigned
in
t
nbr_succeed
=
0
;
unsigned
in
t
nbr_tests
=
6
;
// Increment this when new tests are written.
nbr_succeed
+=
test_enc_not_reg_encoder_sign
();
nbr_succeed
+=
test_enc_missing_do_reg
();
nbr_succeed
+=
test_enc_missing_do_encode
();
...
...
@@ -159,7 +159,7 @@ int main()
//nbr_succeed += test_unimplemented_func(); // This test will be obsolete in the future ;-)
//nbr_succeed += test_user_def(); // There are no user defined errors in the library of course.
printf
(
"####> End tests.
\n
Summary: %
i
/%
i
tests succeed.
\n
"
,
nbr_succeed
,
nbr_tests
);
printf
(
"####> End tests.
\n
Summary: %
u
/%
u
tests succeed.
\n
"
,
nbr_succeed
,
nbr_tests
);
if
(
nbr_succeed
==
nbr_tests
)
{
return
EXIT_SUCCESS
;
}
else
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment