Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
SWIFT
SWIFTsim
Commits
7da712fa
Commit
7da712fa
authored
6 years ago
by
Loic Hausammann
Browse files
Options
Downloads
Patches
Plain Diff
Logger: cleanup test
parent
a74623cd
No related branches found
No related tags found
1 merge request
!685
Logger loader
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/testLogger.c
+4
-4
4 additions, 4 deletions
tests/testLogger.c
with
4 additions
and
4 deletions
tests/testLogger.c
+
4
−
4
View file @
7da712fa
...
...
@@ -32,7 +32,7 @@
/* Local headers. */
#include
"swift.h"
void
test_log_parts
(
struct
logger
*
log
)
{
void
test_log_parts
(
struct
logger
_writer
*
log
)
{
struct
dump
*
d
=
&
log
->
dump
;
/* Write several copies of a part to the dump. */
...
...
@@ -109,7 +109,7 @@ void test_log_parts(struct logger *log) {
}
}
void
test_log_gparts
(
struct
logger
*
log
)
{
void
test_log_gparts
(
struct
logger
_writer
*
log
)
{
struct
dump
*
d
=
&
log
->
dump
;
/* Write several copies of a part to the dump. */
...
...
@@ -183,7 +183,7 @@ void test_log_gparts(struct logger *log) {
}
}
void
test_log_timestamps
(
struct
logger
*
log
)
{
void
test_log_timestamps
(
struct
logger
_writer
*
log
)
{
struct
dump
*
d
=
&
log
->
dump
;
/* The timestamp to log. */
...
...
@@ -255,7 +255,7 @@ void test_log_timestamps(struct logger *log) {
int
main
(
int
argc
,
char
*
argv
[])
{
/* Prepare a logger. */
struct
logger
log
;
struct
logger
_writer
log
;
struct
swift_params
params
;
parser_read_file
(
"logger.yml"
,
&
params
);
logger_init
(
&
log
,
&
params
);
...
...
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