1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/build
Marc-Andre Laperle 1cb1233c33 Fix CompilationDatabaseParserTest wrongly running the parser twice simultaneously
By design, the parser/provider fires when loading the cproject
description but we also call it by hand in the main code of the tests.
This means CompilationDatabaseParser could be running twice
simultaenously along with the same output parser code that it delegates
to. The problem was exposed fully when adding more complex data
structure (hash maps) to the output parsers in another commit, as it
would produce ConcurrentModificationException.

We need to be careful when we choose to call setProjectDescription
because it triggers the provider and then we have to wait for the jobs
to complete (joinLanguageSettingsJobs). By taking this into
consideration, several tests had to be updated. Most notably, the
read-only config test case had to be merged with the time-stamp update
test case because it was the only sensible way to test before/after
changes of language settings with such config.

Change-Id: Ib3a7caefa95b436ad9b699a2614e966a4a8dfca9
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2020-08-03 12:45:52 -04:00
..
org.eclipse.cdt.autotools-feature [releng] Bump version to 10.0.0 2020-04-11 17:46:58 -04:00
org.eclipse.cdt.autotools.core Fixed NLS and null warnings 2020-07-04 04:20:49 -04:00
org.eclipse.cdt.autotools.docs Set maven-antrun-plugin to 3.0.0 2020-07-22 09:30:30 +03:00
org.eclipse.cdt.autotools.tests Bug 561406 - Revise API for CDT Autotools 2020-03-28 14:38:02 -04:00
org.eclipse.cdt.autotools.ui Fixed NLS and null warnings 2020-07-04 04:20:49 -04:00
org.eclipse.cdt.autotools.ui.tests Bug 561406 - Revise API for CDT Autotools 2020-03-28 14:38:02 -04:00
org.eclipse.cdt.build.gcc.core Fixed NLS and null warnings 2020-07-04 04:20:49 -04:00
org.eclipse.cdt.build.gcc.ui Bug 561539 - Revise API for CDT Build GCC support 2020-03-30 13:52:08 +03:00
org.eclipse.cdt.cmake-feature [releng] Bump version to 10.0.0 2020-04-11 17:46:58 -04:00
org.eclipse.cdt.cmake.core Bug 565586: Handle -include and -imacros compiler flags 2020-07-31 13:21:28 -04:00
org.eclipse.cdt.cmake.ui Fixed NLS and null warnings 2020-07-04 04:20:49 -04:00
org.eclipse.cdt.cmake.ui.tests [releng] Bump version to 10.0.0 2020-04-11 17:46:58 -04:00
org.eclipse.cdt.core.autotools-feature [releng] Bump version to 10.0.0 2020-04-11 17:46:58 -04:00
org.eclipse.cdt.core.autotools.core Fixed NLS and null warnings 2020-07-04 04:20:49 -04:00
org.eclipse.cdt.core.autotools.ui Bug 561406 - Revise API for CDT Autotools 2020-03-25 22:22:10 +03:00
org.eclipse.cdt.gnu.build-feature [releng] Bump version to 10.0.0 2020-04-11 17:46:58 -04:00
org.eclipse.cdt.make.core Bug 564272: Increment major version of org.eclipse.cdt.core to 7.0.0 2020-06-13 16:21:05 -04:00
org.eclipse.cdt.make.core.tests Fixed NLS and null warnings 2020-07-04 04:20:49 -04:00
org.eclipse.cdt.make.ui Bug 564949 - Remove support for CDT 3.X style projects (partial) 2020-07-07 22:26:01 -04:00
org.eclipse.cdt.make.ui.tests Bug 540373: Update the compiler warnings/ignores 2018-11-24 10:55:06 +00:00
org.eclipse.cdt.managedbuilder.core Bug 563006 - CDB settings provider/parser doesn't support "arguments" 2020-07-11 17:28:56 -04:00
org.eclipse.cdt.managedbuilder.core.tests Fix CompilationDatabaseParserTest wrongly running the parser twice simultaneously 2020-08-03 12:45:52 -04:00
org.eclipse.cdt.managedbuilder.gnu.ui Fixed NLS and null warnings 2020-07-04 04:20:49 -04:00
org.eclipse.cdt.managedbuilder.ui Bug 564949 - Remove support for CDT 3.X style projects (partial) 2020-07-07 22:26:01 -04:00
org.eclipse.cdt.managedbuilder.ui.tests Bug 540373: Update the compiler warnings/ignores 2018-11-24 10:55:06 +00:00
org.eclipse.cdt.meson-feature [releng] Bump version to 10.0.0 2020-04-11 17:46:58 -04:00
org.eclipse.cdt.meson.core Fixed NLS and null warnings 2020-07-04 04:20:49 -04:00
org.eclipse.cdt.meson.docs Set maven-antrun-plugin to 3.0.0 2020-07-22 09:30:30 +03:00
org.eclipse.cdt.meson.ui Fixed NLS and null warnings 2020-07-04 04:20:49 -04:00
org.eclipse.cdt.meson.ui.editor Bug 540373: Update the compiler warnings/ignores 2018-11-24 10:55:06 +00:00
org.eclipse.cdt.meson.ui.tests [releng] Bump version to 10.0.0 2020-04-11 17:46:58 -04:00
pom.xml [releng] Bump version to 10.0.0 2020-04-11 17:46:58 -04:00