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
728d98e8
Commit
728d98e8
authored
Aug 30, 2011
by
Rusty Russell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ccanlint: show each test as we execute it with -vv
Tests can be slow to run, and this way we can monitor progress.
parent
4c5ed661
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
tools/ccanlint/tests/tests_pass.c
tools/ccanlint/tests/tests_pass.c
+2
-0
tools/ccanlint/tests/tests_pass_without_features.c
tools/ccanlint/tests/tests_pass_without_features.c
+2
-0
No files found.
tools/ccanlint/tests/tests_pass.c
View file @
728d98e8
...
@@ -94,6 +94,8 @@ static void do_run_tests(struct manifest *m,
...
@@ -94,6 +94,8 @@ static void do_run_tests(struct manifest *m,
foreach_ptr
(
list
,
&
m
->
run_tests
,
&
m
->
api_tests
)
{
foreach_ptr
(
list
,
&
m
->
run_tests
,
&
m
->
api_tests
)
{
list_for_each
(
list
,
i
,
list
)
{
list_for_each
(
list
,
i
,
list
)
{
score
->
total
++
;
score
->
total
++
;
if
(
verbose
>=
2
)
printf
(
" %s
\n
"
,
i
->
name
);
if
(
run_test
(
score
,
m
,
timeleft
,
&
cmdout
,
i
))
if
(
run_test
(
score
,
m
,
timeleft
,
&
cmdout
,
i
))
score
->
score
++
;
score
->
score
++
;
else
else
...
...
tools/ccanlint/tests/tests_pass_without_features.c
View file @
728d98e8
...
@@ -29,6 +29,8 @@ static void do_run_tests_no_features(struct manifest *m,
...
@@ -29,6 +29,8 @@ static void do_run_tests_no_features(struct manifest *m,
foreach_ptr
(
list
,
&
m
->
run_tests
,
&
m
->
api_tests
)
{
foreach_ptr
(
list
,
&
m
->
run_tests
,
&
m
->
api_tests
)
{
list_for_each
(
list
,
i
,
list
)
{
list_for_each
(
list
,
i
,
list
)
{
score
->
total
++
;
score
->
total
++
;
if
(
verbose
>=
2
)
printf
(
" %s
\n
"
,
i
->
name
);
if
(
run_command
(
m
,
timeleft
,
&
cmdout
,
"%s"
,
if
(
run_command
(
m
,
timeleft
,
&
cmdout
,
"%s"
,
i
->
compiled
[
COMPILE_NOFEAT
]))
i
->
compiled
[
COMPILE_NOFEAT
]))
score
->
score
++
;
score
->
score
++
;
...
...
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