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
c550c922
Commit
c550c922
authored
Aug 05, 2016
by
Carlos Martín Nieto
Committed by
GitHub
Aug 05, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3881 from pks-t/pks/fix-clar-suite-prefix-computation
clar: fix parsing of test suite prefixes
parents
cba60b9b
f2cab0a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
tests/clar.c
+6
-0
No files found.
tests/clar.c
View file @
c550c922
...
...
@@ -340,6 +340,12 @@ clar_parse_args(int argc, char **argv)
if
(
strncmp
(
argument
,
_clar_suites
[
j
].
name
,
cmplen
)
==
0
)
{
int
exact
=
(
arglen
>=
suitelen
);
/* Do we have a real suite prefix separated by a
* trailing '::' or just a matching substring? */
if
(
arglen
>
suitelen
&&
(
argument
[
suitelen
]
!=
':'
||
argument
[
suitelen
+
1
]
!=
':'
))
continue
;
++
found
;
if
(
!
exact
)
...
...
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