Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
839b2495
Commit
839b2495
authored
a year ago
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: update to latest clar
parent
6fb234b5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletions
+5
-1
tests/clar/clar.c
+2
-0
tests/clar/clar/fixtures.h
+1
-1
tests/clar/clar/fs.h
+2
-0
No files found.
tests/clar/clar.c
View file @
839b2495
...
...
@@ -94,8 +94,10 @@
static
void
fs_rm
(
const
char
*
_source
);
static
void
fs_copy
(
const
char
*
_source
,
const
char
*
dest
);
#ifdef CLAR_FIXTURE_PATH
static
const
char
*
fixture_path
(
const
char
*
base
,
const
char
*
fixture_name
);
#endif
struct
clar_error
{
const
char
*
file
;
...
...
This diff is collapsed.
Click to expand it.
tests/clar/clar/fixtures.h
View file @
839b2495
#ifdef CLAR_FIXTURE_PATH
static
const
char
*
fixture_path
(
const
char
*
base
,
const
char
*
fixture_name
)
{
...
...
@@ -20,7 +21,6 @@ fixture_path(const char *base, const char *fixture_name)
return
_path
;
}
#ifdef CLAR_FIXTURE_PATH
const
char
*
cl_fixture
(
const
char
*
fixture_name
)
{
return
fixture_path
(
CLAR_FIXTURE_PATH
,
fixture_name
);
...
...
This diff is collapsed.
Click to expand it.
tests/clar/clar/fs.h
View file @
839b2495
...
...
@@ -295,7 +295,9 @@ fs_copy(const char *_source, const char *_dest)
void
cl_fs_cleanup
(
void
)
{
#ifdef CLAR_FIXTURE_PATH
fs_rm
(
fixture_path
(
_clar_path
,
"*"
));
#endif
}
#else
...
...
This diff is collapsed.
Click to expand it.
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