1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-09 02:36:01 +02:00
Commit graph

340 commits

Author SHA1 Message Date
Marc-Andre Laperle
e6a4fe47b3 Bug 463723 - GCC output parser cannot parse macro with a combination of
quotes and escapes

Change-Id: I7b07d3e2cc706f5e7839189bd2968f69c5cad28c
2016-01-04 11:45:31 -05:00
Marc Khouzam
f3ff649041 Fix copyright of all CDT plugins using the copyright tool from platform.
This commit does not add missing copyrights, just updates the date on
the existing ones.

Change-Id: I646f5afd533a1fcc539bdf2e0686b22f406ecf65
2016-01-03 20:38:31 -05:00
Marc-Andre Laperle
5656acd253 Bug 481971 - Detect cc compiler in the build output parser
Change-Id: If667583eb3f720aa9ad7907af4673da8437d15d7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-11-26 09:01:33 -05:00
ocagdas
6ab4145c56 Bug 468417
The '.d' files that are generated by CDT, contain 'file_name.d:
file_name.cpp file_name.h' type of target prerequisite relations. 

However, to get benefit of the dependency mechanism, this should be
something like 'file_name.o: file_name.cpp file_name.h'.

Therefore, we need to change ''options[3] = "-MT\"$(@:%.o=%.d)\"";'' as
'options[3] = "-MT\"$(@)\"";'

Also update the test cases.

Change-Id: Iee829a8564e1b134905ee06a8a4b76a1e3b30ecc
Signed-off-by: ocagdas <ocagdas@yahoo.com>
2015-06-24 21:54:00 -04:00
Marc Khouzam
bb61124897 Incremented CDT feature version to 8.8.0
Change-Id: Ib1189a08a5f0225fd676b682dc8a10477ad3acc5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-10 09:33:49 -04:00
Marc Khouzam
79ff9f136c Change output to fix failing tests.
The cause of the different output is a change in o.e.core.resources
where the order of visiting a project has changed to become
alphabetical.  See 
http://eclip.se/461838

Therefore, our benchmark files must also have the output of
subdirectories in alphabetical order.

Change-Id: I3331649cf516adbe3b453b11f1ed6733a007ce4d
2015-05-08 09:04:37 -04:00
Marc Khouzam
e820f872ad Incremented CDT feature version to 8.7.0
Change-Id: Ife0feaaa9263d2b7797e31d628250bd26caff1b5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-04 21:07:13 -04:00
Nathan Ridge
ff5a55388c Bug 433171 - Handle line continuations when parsing build output
Change-Id: I9449e3167eae1464d23948da80663997adf95b16
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-03-11 14:33:06 -04:00
Marc-Andre Laperle
afd11359e6 Extract test VM args to common property base.test.vmargs
This makes it easier to change arguments for all tests. As a side-effect,
all tests now enable assertion (-ea) and have the same max heap size, etc.

Change-Id: I0965d40ba3283efe7eacdf927f6c302ee0ab30f0
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-02-06 13:02:28 -05:00
Sergey Prigogin
252eaf4c0f Incremented CDT feature version to 8.6.0.
Change-Id: Ic90c8e6a68d21e5b90ec3fac997da6a95a29bedf
Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39066
Tested-by: Hudson CI
2015-01-06 19:40:38 -05:00
Sebastian Bauer
accfa032aa Bug 389536 - NPE in AdditionalInput for projects containing files with
custom build-steps.

Tools for custom build steps normally don't belong to a tool chain. We
assume now that the inputs don't need to be rebuilt rather than
provoking a NPE.

The actual fix is similiar to the patch added to the mentioned bug
originally been created by Piotr Aniola. It has been extended with a
test case demonstrating the problem (and the fix).

Change-Id: I5f17248cbe8e84779144bb5f1873c5b9456baa16
Signed-off-by: Sebastian Bauer <mail@sebastianbauer.info>
Reviewed-on: https://git.eclipse.org/r/38206
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-12-18 08:25:30 -05:00
Marc-Andre Laperle
97079f6ad0 Add missing arg for jacoco in in tests. Update jacoco.
Jacoco arguments are missing when executing certain tests. This happens when
argLine is being overriden. We had the same problem in Linux Tools. We solved
it by prepending the argLine with ${tycho.testArgLine}. This should help
improving the Code coverage metric in Sonar.

Also update the jacoco version to fix a bug when building with Java 8.

Change-Id: I7f73f40488efc01fc7d643940c1ac0d5950c900d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32507
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-08-28 15:40:26 -04:00
Marc-Andre Laperle
86a08c918e Upgrade to Tycho 0.21.0
Change-Id: I1ef13eda4f297c10ee360cac64f43d58a91790e1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29954
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-31 11:19:17 -04:00
Sergey Prigogin
d8154bd340 Inremented branding plugin version to 8.5 2014-07-21 17:39:01 -07:00
Sergey Prigogin
ca4098caac Cosmetics. 2014-05-09 09:53:25 -07:00
Sergey Prigogin
5d7a19fa6c Enabled JDK 1.7.
Change-Id: Ic2a161ea3c318dc1e8ba01c271c936bf5ed8763d
Reviewed-on: https://git.eclipse.org/r/21020
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-24 13:38:55 -05:00
Sergey Prigogin
207bcc6f56 Adjusted plugin version numbers to not go back compared to CDT 8.2.1. 2014-01-22 11:04:19 -08:00
Sergey Prigogin
1d166260a8 Bumped up CDT version to 8.4.
Change-Id: I1229344feaaed4a3551ceb7b1ef1410545048b55
Reviewed-on: https://git.eclipse.org/r/20908
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-21 17:35:29 -05:00
Liviu Ionescu
e72330fe5a Bug 392416: make BuiltinSpecsDetectorTest.java run on non-windows
platforms (accept spaces in paths; increase timestamp by 1000ms)

Change-Id: I0bf2cef0e31d655310446a6f5321dd938e4c69ad
Also-by: Andrew Gvozdev <angvoz.dev@gmail.com>
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
Signed-off-by: Liviu Ionescu <ilg@livius.net>
Reviewed-on: https://git.eclipse.org/r/17179
2013-10-08 22:09:26 -04:00
Liviu Ionescu
775dc3fc68 Bug 413678: trigger discovery after command line change
Change-Id: I543b95ba08c0f2a482799a6c37fe13759bc21550
Also-by: Andrew Gvozdev <angvoz.dev@gmail.com>
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
Signed-off-by: Liviu Ionescu <ilg@livius.net>
2013-10-08 11:01:13 -04:00
Andrew Gvozdev
cc0bb2b375 bug 392416: Rebuild builtin GCC compiler settings when GCC version changes 2013-10-06 07:08:41 -04:00
Andrew Gvozdev
6856d55b68 bug 416628: "Export" of entries of language settings providers to referencing projects - added provider to do that 2013-09-08 08:09:33 -04:00
Andrew Gvozdev
652ce4748e Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
Fabrizio Iannetti
9a654efbe3 NEW - bug 394959: CDT GCC build output parser does not understand
-isystem 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=394959

Simple patch to treat -isystem as -I, so that at least the paths show
up in the configuration:

- added two include parse options (copied/adapted from -I)
- added junit test case (copied/adapted from -I)


Change-Id: Ib3f3764ad75def49f6ec180bfecc0d6f42eabb1d
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@intel.com>
Reviewed-on: https://git.eclipse.org/r/15584
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2013-08-19 09:43:09 -04:00
Andrew Gvozdev
12c5f12990 bug 404913: Built-In Settings Provider should recognize extra gcc
parameters from build settings
2013-07-24 14:05:13 -04:00
Andrew Gvozdev
af57f95d75 bug 404913: Flag to designate build options to be also used by scanner discovery. 2013-07-24 14:05:03 -04:00
Andrew Gvozdev
dae7358b7d bug 404913: Cosmetics 2013-07-22 01:42:25 -04:00
Andrew Gvozdev
4ce1de86ae bug 412897: CDT GCC build output parser does not understand -imacros 2013-07-13 09:28:21 -04:00
Andrew Gvozdev
2596bb1aa7 Bug 404912: Built-In Settings Provider ignores compiler command from build Settings 2013-07-13 00:24:19 -04:00
Marc-Andre Laperle
718d7de48e Bug 412057 - UI tests don't run on Mac Cocoa using Tycho build
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2013-07-03 21:02:43 -04:00
Andrew Gvozdev
1d28b9bce9 Bug 398353: Environment variables not evaluated in CDT GCC Builtin Compiler Settings 2013-06-29 10:58:09 -04:00
Andrew Gvozdev
4ead47e948 bug 409651: MinGW language settings provider provides duplicate include paths 2013-06-01 07:36:02 -04:00
Andrew Gvozdev
8af6460cc0 bug 402023: Test case for Unix corrected 2013-05-20 17:41:58 -04:00
Andrew Gvozdev
b18bf27bb4 bug 402023: When persisting discovered include paths, project-relative paths should not embed the project name 2013-05-20 15:21:57 -04:00
Andrew Gvozdev
2d5584fe98 bug 402023: Provide programmatic access for names of CdtMacroSupplier variables ($ProjName, $ConfigName etc.) 2013-05-20 14:48:22 -04:00
Andrew Gvozdev
9002a13eb1 bug 401961: Use more general CConfigurationDataProvider facilities to initialize language settings providers rather than do it in each New Project Wizard 2013-04-23 18:07:54 -04:00
Andrew Gvozdev
9945f84a04 bug 404125: Adjust test cases for running on unix system 2013-03-29 17:41:10 -04:00
Andrew Gvozdev
a7acc2b250 bug 404125: Build output parser incorrectly handles compile lines compiling files outside of the workspace 2013-03-29 15:43:44 -04:00
Andrew Gvozdev
4f3ad71e87 bug 404125: Build output parser incorrectly handles compile lines compiling files outside of the workspace 2013-03-24 08:10:42 -04:00
Andrew Gvozdev
527d60717b bug 403406: Changes in environment variables should trigger re-discovery of Built-in Compiler Settings 2013-03-16 08:08:27 -04:00
Andrew Gvozdev
62eeab5ef6 bug 382423: Add Builtin Compiler Settings LSP provider for Cygwin toolchain 2013-03-13 13:59:02 -04:00
Andrew Gvozdev
7f710ebde4 bug 398056: Regression: LanguageSettingsProviders can get enabled unexpectedly on project-import when they should not 2013-02-07 23:28:32 -05:00
Andrew Gvozdev
5cb3203f4a bug 397815: Scanner discovery incorrectly extracts macros containing parentheses 2013-01-10 17:44:38 -05:00
Andrew Gvozdev
336f3b170d bug 396410: JUnit failure: cdt.build.core.scannerconfig.tests.CfgScannerConfigProfileManagerTests.testBasicCfgScannerConfigProfileChanges 2013-01-02 18:03:49 -05:00
Andrew Gvozdev
7c92e3e070 bug 396411: JUnit failure: cdt.managedbuilder.core.tests.ManagedBuildCoreTests20.testScannerInfoInterface 2012-12-16 23:52:16 -05:00
Andrew Gvozdev
7e38f66a54 bug 396411: JUnit failure: cdt.managedbuilder.core.tests.ManagedBuildCoreTests20.testScannerInfoInterface 2012-12-16 11:24:06 -05:00
Andrew Gvozdev
0a4170fed0 bug 396411: JUnit failure: cdt.managedbuilder.core.tests.ManagedBuildCoreTests20.testScannerInfoInterface 2012-12-16 07:18:39 -05:00
Andrew Gvozdev
e58a3323c8 bug 396411: JUnit failure, correction of expected results for Unix 2012-12-13 10:17:57 -05:00
Andrew Gvozdev
cce302595e bug 396411: JUnit failure: cdt.managedbuilder.core.tests.ManagedBuildCoreTests20.testScannerInfoInterface 2012-12-12 11:03:25 -05:00
Andrew Gvozdev
618d199135 Updated MBS test cases to report when some preconditions fail. 2012-12-06 17:04:56 -05:00