On Tue, 1 Sep 2020 13:49:48 GMT, Nir Lisker <nlis...@openjdk.org> wrote:

>> I guess you are trying a unit test in the `javafx.graphics` project? That 
>> won't work. It needs to be a system test in
>> `tests/system/...`
>
> I tried several approaches. When I put it under `tests/system` and run the 
> tests task, I don't see it being run. I'm
> not familiar with the way tests under `tests` are run in general.

You need to pass a flag to enable system tests (and a second one for Robot 
tests, but if you use snapshot it might not
need to be).

gradle -PFULL_TEST=true -PUSE_ROBOT=true :systemTests:test --tests MyTest

-------------

PR: https://git.openjdk.java.net/jfx/pull/43

Reply via email to