Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5d7cc36d
Commit
5d7cc36d
authored
Nov 21, 2010
by
Greg Geldorp
Committed by
Alexandre Julliard
Nov 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winetest: Add "-u" command line option so TestBot can include a URL in the report.
parent
8c0a8ac5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
main.c
programs/winetest/main.c
+11
-0
No files found.
programs/winetest/main.c
View file @
5d7cc36d
...
...
@@ -49,6 +49,7 @@ struct wine_test
char
*
tag
=
NULL
;
char
*
description
=
NULL
;
char
*
url
=
NULL
;
char
*
email
=
NULL
;
BOOL
aborting
=
FALSE
;
static
struct
wine_test
*
wine_tests
;
...
...
@@ -250,6 +251,8 @@ static void print_version (void)
xprintf
(
" Submitter=%s
\n
"
,
email
);
if
(
description
)
xprintf
(
" Description=%s
\n
"
,
description
);
if
(
url
)
xprintf
(
" URL=%s
\n
"
,
url
);
xprintf
(
" dwMajorVersion=%u
\n
dwMinorVersion=%u
\n
"
" dwBuildNumber=%u
\n
PlatformId=%u
\n
szCSDVersion=%s
\n
"
,
ver
.
dwMajorVersion
,
ver
.
dwMinorVersion
,
ver
.
dwBuildNumber
,
...
...
@@ -1015,6 +1018,7 @@ usage (void)
" -o FILE put report into FILE, do not submit
\n
"
" -s FILE submit FILE, do not run tests
\n
"
" -t TAG include TAG of characters [-.0-9a-zA-Z] in the report
\n
"
" -u URL include TestBot URL in the report
\n
"
" -x DIR Extract tests to DIR (default: .
\\
wct) and exit
\n
"
);
}
...
...
@@ -1117,6 +1121,13 @@ int main( int argc, char *argv[] )
exit
(
2
);
}
break
;
case
'u'
:
if
(
!
(
url
=
argv
[
++
i
]))
{
usage
();
exit
(
2
);
}
break
;
case
'x'
:
report
(
R_TEXTMODE
);
if
(
!
(
extract
=
argv
[
++
i
]))
...
...
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