1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-03-28 14:56:28 +01:00
cdt/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb
Jonah Graham d82e1ef833 Add some extra info when terminate fails in tests
On GitHub I see fails in resume[gdb] (org.eclipse.cdt.tests.dsf.gdb.tests.MIRunControlTest)

with this output:

```
Terminate failed
org.eclipse.debug.core.DebugException: Terminate failed
	at org.eclipse.debug.core.Launch.terminate(Launch.java:300)
	at org.eclipse.cdt.dsf.gdb.launching.GdbLaunch.terminate(GdbLaunch.java:313)
	at org.eclipse.cdt.tests.dsf.gdb.framework.BaseTestCase.doAfterTest(BaseTestCase.java:662)
	at org.eclipse.cdt.tests.dsf.gdb.tests.MIRunControlTest.doAfterTest(MIRunControlTest.java:133)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.RunAfters.invokeMethod(RunAfters.java:46)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Contains: Terminate failed
Contains: Terminate failed
790,475 "resume[gdb]" requesting gdb. Launched gdb 15.0.50.20240403.
```

which is insufficient to diagnose what is happening.

Part of #816
2025-01-24 14:04:47 -05:00
..
.externalToolBuilders Flattening rest of gdb tests 2016-03-18 09:39:45 -04:00
.settings Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
data/launch Fix undefined behaviour in C code problem 2025-01-24 14:04:47 -05:00
META-INF Update maven dependencies to latest versions, especially Hamcrest 2025-01-16 14:57:42 -05:00
scripts Cleanup CDT repo related to the docker + Java 21 updates 2024-04-26 20:26:40 -04:00
src/org/eclipse/cdt Add some extra info when terminate fails in tests 2025-01-24 14:04:47 -05:00
.classpath Update to Java 17 as BREE. Fixes #80 2022-10-03 12:42:37 -04:00
.options [303828] Instrument ServiceEventWaitor 2010-02-25 23:00:21 +00:00
.project Remove API tooling from projects that are not part of our release 2022-10-03 12:42:37 -04:00
about.html [releng] Update all legal files with update_legal_files.sh 2022-04-13 13:42:35 -04:00
build.properties Fixed "The value for X attribute is not externalized" warning 2020-08-28 21:32:18 +02:00
dsf.debug.options Add a default file to enable/disable tracing for the debug tests 2017-02-15 17:29:38 -04:00
plugin.properties Minor updates to bundles to have proper translations 2020-08-30 23:03:53 -04:00
plugin.xml Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair 2014-07-14 12:34:41 -04:00
pom.xml Bump version to CDT 12.0.0 (#911) 2024-10-08 12:52:15 -04:00
TestAppBuilder.xml Bug 444196 - [tests] dsf-gdb tests fail the build when 'make' is not installed 2014-09-16 15:42:57 -04:00