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
443bfc99
Commit
443bfc99
authored
Oct 07, 2008
by
Dylan Smith
Committed by
Alexandre Julliard
Oct 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runtest: Let the test program handle the lack of a test name.
parent
634052e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
runtest
tools/runtest
+3
-9
No files found.
tools/runtest
View file @
443bfc99
...
...
@@ -26,7 +26,7 @@ usage()
{
cat
>
&2
<<
EOF
Usage:
$0
[options]
input_file
Usage:
$0
[options]
[input_file]
input_file: the source code for the test program
...
...
@@ -48,7 +48,7 @@ platform=$WINETEST_PLATFORM
WINETEST_DEBUG
=
${
WINETEST_DEBUG
:-
1
}
# parse command-line options
while
[
"$#"
!=
0
]
;
do
while
[
"$#"
-gt
1
]
;
do
case
"
$1
"
in
-h
)
usage
...
...
@@ -79,16 +79,10 @@ while [ "$#" != 0 ]; do
--
)
break
;;
*
)
infile
=
"
$1
"
;;
esac
shift
done
# we must have found an input file
if
[
!
-f
"
$infile
"
]
;
then
usage
;
fi
if
[
-z
"
$program
"
]
;
then
# try to autodetect the test program name based on the working directory
working_path
=
`
pwd
`
...
...
@@ -139,4 +133,4 @@ export WINETEST_PLATFORM WINETEST_DEBUG
# WINETEST_WRAPPER=valgrind
# would run the tests under valgrind to look for memory errors.
exec
$WINETEST_WRAPPER
"
$topobjdir
/wine"
"
$program
"
"
$
infile
"
"
$
@
"
exec
$WINETEST_WRAPPER
"
$topobjdir
/wine"
"
$program
"
"
$@
"
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