Mark Hindess wrote:
On 11 September 2006 at 16:29, "Alexey Petrenko"
<[EMAIL PROTECTED]> wrote:
Mark,

I did not get your point...
What is the problem with the same property for both awt and swing
tests? I understand that we need to set dome property to run them
since we got problems with building awt native libraries and do not
want them while usual run. But why we need different properties for
one task: run "hidden" tests?

I mean that 'with.awt.swing.tests' as it is currently used should really be called 'run.tests.that.might.kill.your.xsession' - for me
at least.

Say what you will about our swing code, the fact that our bugs can take down an XServer is darn impressive in my book.


Ideally I'd like to fix the dependency issues and the tests and have no
extra variables. ;-)

+1


Part of the problem is that I don't really know which tests are
interfering with my window manager... because when I run the tests I can
no longer type anything and it doesn't seem to happen 100% of the time
so my attempt to use a binary chop to find the problematic tests didn't
work.  I will try to narrow it down again but I was hoping someone who
knew the code better might have an idea what might cause focus to be
"stolen" by the tests.

-Mark.

SY, Alexey

2006/9/11, Mark Hindess <[EMAIL PROTECTED]>:
Just to explain, if I build and test with 'with.awt.swing=true' then
I don't see any problems with hangs or tests stealing keyboard/mouse
events and effectively killing my window manager.

The same is *not* true if I set with.awt.swing.tests.

I should have called the second variable something else, but that is the
reason I used a different variable for the "problematic tests".

-Mark.

On 6 September 2006 at 17:23, "Alexey Petrenko"
<[EMAIL PROTECTED]> wrote:
Both solutions are possible.

2006/9/6, Mikhail Loenko <[EMAIL PROTECTED]>:
Is there a reason to have two different options for classes and for tes
ts?
Why not have -Dwith.awt.swing for both?

Thanks,
Mikhail

2006/9/6, Alexey Petrenko (JIRA) <[EMAIL PROTECTED]>:
    [ http://issues.apache.org/jira/browse/HARMONY-1392?page=all ]

Alexey Petrenko updated HARMONY-1392:
-------------------------------------

   Attachment: HARMONY-1392.diff

Different properties are used to run awt and swing tests
--------------------------------------------------------

                Key: HARMONY-1392
                URL: http://issues.apache.org/jira/browse/HARMONY-1
392
            Project: Harmony
         Issue Type: Bug
         Components: Classlib
           Reporter: Alexey Petrenko
        Attachments: HARMONY-1392.diff


We need to set different properties to run awt and swing tests. And
 thi
s is wrong.
I suggest set with.awt.swing.tests property as for awt.
I'll prepare the patch shortly
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrator
s: h
ttp://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/
jira


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Alexey A. Petrenko
Intel Middleware Products Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Alexey A. Petrenko
Intel Middleware Products Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to