On Tue, Dec 01, 2009 at 04:14:23PM -0800, Brock Pytlik wrote:
> The fix for 12134 has made the test suite unrunnable on my machine
> again because it undid the fix for 11773.
> 
> This simply reintroduces that fix so that, even if the gui tests
> aren't working, the rest of the test suite will run.
> 
> Since it's a two line change, I've included it below.
> 
> Thanks,
> Brock
> 
> diff -r fbb9aafb8f8b src/tests/run.py
> --- a/src/tests/run.py    Tue Dec 01 15:48:12 2009 -0800
> +++ b/src/tests/run.py    Tue Dec 01 16:03:58 2009 -0800
> @@ -233,13 +233,13 @@
>         suites.append(api_suite)
>         if ostype == "posix":
>                 suites.append(cli_suite)
> -                gui_suite = find_tests("gui", onlyval, startattest)
>                 import gui.testutils
>                 if not gui.testutils.check_for_gtk():
>                         print "GTK not present, GUI tests disabled."
>                 elif not gui.testutils.check_if_a11y_enabled():
>                         print "Accessibility not enabled, GUI tests
> disabled."
>                 else:
> +                        gui_suite = find_tests("gui", onlyval, startattest)
>                         suites.append(gui_suite)
> 
>         # Initialize the baseline results and load them

Looks fine.  Thanks for fixing this.

-j
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to