BuildTests should not run in Maven builds

They succeed only when run with testframework with access to deployed
content. Thus check for env variable set by maven and skip the tests in
this case.

Change-Id: Iab34466cdd23f0813c31af2199870b13c41eddf6
Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.releng/+/190477
Tested-by: Platform Bot <platform-bot@eclipse.org>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
1 file changed