how to skip failing test

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Toralf Förster

how to skip failing test

Post by Toralf Förster »

I'm wondering,

how I can run "make test" and exclude those which are know to fail at my
system ?

--
MfG/Sincerely
Toralf Förster

pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

You could just not "make test". It's not a required part of building Wine; as the name states it's used to run the test cases that come with Wine. Running tests without wanting to run the ones that will fail seems kind of pointless, because running the test cases to see which ones work is the entire point of having the test cases.

At least, that's what I think the test cases were for. From what I learned about things like unit testing, that's exactly what it's supposed to be for.
Charles Davis

how to skip failing test

Post by Charles Davis »

On 3/17/10 2:43 AM, Toralf Förster wrote:
I'm wondering,

how I can run "make test" and exclude those which are know to fail at my
system ?
With -k:

make -k test

Then even if a test fails, make will run the rest of the tests.

Chip
Charles Davis

how to skip failing test

Post by Charles Davis »

On 3/17/10 10:25 AM, Toralf Förster wrote:
Charles Davis wrote at 16:56:23
make -k test
Well, I know that.

Unfortunately there's a test which crashes my X11 server :

tfoerste@n22 ~ $ cd ~/devel/wine-git/programs/winetest/
tfoerste@n22 ~/devel/wine-git/programs/winetest $ wine user32_test.exe win
Oh yeah... /That/ test.

By any chance, you're not running Mac OS X, are you? That used to be a
problem there, but with the latest Xquartz, I'm not seeing it, even
without using the virtual desktop (that's the workaround, by the way).

Of course, this is also a problem on Linux with certain drivers, but I
hear they're working on that, too.
and I'd like to finish a run like this :

$> wine ./programs/winetest/winetest.exe.so
Like I said, one thing you can do is run the test inside a virtual
desktop (from winecfg on the "Graphics" tab, check "Emulate a virtual
desktop"). It might help.

Chip
Toralf Förster

how to skip failing test

Post by Toralf Förster »

Charles Davis wrote at 16:56:23
make -k test
Well, I know that.

Unfortunately there's a test which crashes my X11 server :

tfoerste@n22 ~ $ cd ~/devel/wine-git/programs/winetest/
tfoerste@n22 ~/devel/wine-git/programs/winetest $ wine user32_test.exe win


and I'd like to finish a run like this :

$> wine ./programs/winetest/winetest.exe.so


--
MfG/Sincerely
Toralf Förster

pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
Toralf Förster

how to skip failing test

Post by Toralf Förster »

Charles Davis wrote at 17:30:22
By any chance, you're not running Mac OS X, are you? That used to be a
problem there, but with the latest Xquartz, I'm not seeing it, even
without using the virtual desktop (that's the workaround, by the way).
No, I'm running Gentoo and I filed a bug about that w/ details :
https://bugs.freedesktop.org/show_bug.cgi?id=27133


--
MfG/Sincerely
Toralf Förster

pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
Locked