Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
ccan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mirror
ccan
Commits
04f453bb
Commit
04f453bb
authored
Dec 02, 2011
by
Rusty Russell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ccanlint: use -t for --target not --timeout
I use --target far more than --timeout.
parent
03c49198
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Makefile
Makefile
+1
-1
tools/ccanlint/ccanlint.c
tools/ccanlint/ccanlint.c
+2
-2
No files found.
Makefile
View file @
04f453bb
...
...
@@ -94,7 +94,7 @@ check-%: tools/ccanlint/ccanlint
tools/ccanlint/ccanlint ccan/
$*
fastcheck-%
:
tools/ccanlint/ccanlint
tools/ccanlint/ccanlint
-t
$(FASTTIMEOUT)
ccan/
$*
tools/ccanlint/ccanlint
-
-timeou
t
$(FASTTIMEOUT)
ccan/
$*
# Doesn't test dependencies, doesn't print verbose fail results.
summary-check-%
:
tools/ccanlint/ccanlint $(OBJFILES)
...
...
tools/ccanlint/ccanlint.c
View file @
04f453bb
...
...
@@ -733,10 +733,10 @@ int main(int argc, char *argv[])
"simply give one line summary"
);
opt_register_arg
(
"-x|--exclude <testname>"
,
exclude_test
,
NULL
,
NULL
,
"exclude <testname> (can be used multiple times)"
);
opt_register_arg
(
"-
t|-
-timeout <milleseconds>"
,
opt_set_uintval
,
opt_register_arg
(
"--timeout <milleseconds>"
,
opt_set_uintval
,
NULL
,
&
timeout
,
"ignore (terminate) tests that are slower than this"
);
opt_register_arg
(
"--target <testname>"
,
opt_set_target
,
NULL
,
&
all
,
opt_register_arg
(
"-
t|-
-target <testname>"
,
opt_set_target
,
NULL
,
&
all
,
"only run one test (and its prerequisites)"
);
opt_register_arg
(
"--compiler <compiler>"
,
opt_set_const_charp
,
NULL
,
&
compiler
,
"set the compiler"
);
...
...
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