Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] An unexpected error occured

Hi

This is something of a nightmare and if that wasn't bad enough it can be hysterical. The following gives some clues to my progress.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=529929
and https://bugs.eclipse.org/bugs/show_bug.cgi?id=529797#c16

Regards

Ed Willink


On 12/07/2018 08:25, Stefan Nöbauer wrote:

Hi,

 

I have another question about tycho surefire.

I wrote a test project for one of my plugins. The plugin is build successfully but when the testplugin should be executed surefire comes up with this exception:

 

Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:1.2.0:test (default-test) on project server.tests: An unexpected error occured while launching the test runtime (return code 13).

 

Where ca I find more information about the possible failure?

The mentioned logfile in “work\data\.metadata\.log” does not exist.

 

The Test is just as simple as:

 

package server.tests;

 

import org.junit.Test;

 

import static org.junit.Assert.assertTrue;

 

 

/**

* @author  Stefan Nöbauer

*/

public class BlaBlaTest {

 

    @Test

    public void isBlablaTest() {

        assertTrue(true);

    }

}

 

Manifest.mf

Manifest-Version: 1.0

Bundle-ManifestVersion: 2

Bundle-Name: Tests

Bundle-SymbolicName: server.tests

Bundle-Version: 1.0.0.qualifier

Bundle-Vendor: KGU

Fragment-Host: com.teamcenter.presentation.contmgmt.server;bundle-version="1.0.0"

Automatic-Module-Name: server.tests

Bundle-RequiredExecutionEnvironment: JavaSE-1.8

Require-Bundle: org.junit;bundle-version="4.12.0"

Export-Package: server.tests

 

When I select a different host plugin the test plugin “server.tests” is executed fine!

 

Regards

Stefan



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


Virus-free. www.avast.com

Back to the top