Shawn Walker wrote:
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)

Is there really an extra space before 'gui_site' here? Or is this file mixing tabs and spaces?

Cheers,
I donno why it came out like this, but I'll double check spaces and tabs for these lines before I put back.
Thanks,
Brock
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to