Bug 12498 - setup.sh unintentionally installs latest Eclipse feature
Summary: setup.sh unintentionally installs latest Eclipse feature
Status: CLOSED WONTFIX
Alias: None
Product: Eclipse Plugin
Classification: Yocto Project Subprojects
Component: eclipse-plugin (show other bugs)
Version: 2.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: 4.99
Assignee: Chin Huat Ang
QA Contact: Toaster default assignee
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-01-18 07:26 UTC by Chin Huat Ang
Modified: 2019-05-23 15:06 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
code snippet with solution and test cases (4.58 KB, application/x-shellscript)
2018-01-25 04:46 UTC, Chin Huat Ang
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chin Huat Ang 2018-01-18 07:26:01 UTC
Eclipse Poky has been updated to build againsts Oxygen.0 and CDT 9.3.0, however autobuilder log for oxygen-master build says 9.4.0 is installed.

Autobuilder log:

https://autobuilder.yocto.io/builders/eclipse-plugin-oxygen/builds/214/steps/Building%20Eclipse%20Plugin/logs/stdio

Observe that incorrect CDT version installed:

Please wait. Installing CDT.SDK.FEATURE.GROUP
Installing org.eclipse.cdt.sdk.feature.group 9.4.0.201712051550.
Operation completed in 33379 ms.
Comment 1 Chin Huat Ang 2018-01-25 04:46:04 UTC
Created attachment 4186 [details]
code snippet with solution and test cases

Attached code snippet provides test_version and compare_version functions which are tested againsts these test cases

### compare_version test cases ###
0	= 0	-- PASSED
0	= 0.0	-- PASSED
0	= 0.0.0	-- PASSED
0.0	= 0	-- PASSED
0.0	= 0.0	-- PASSED
0.0	= 0.0.0	-- PASSED
0.0.0	= 0	-- PASSED
0.0.0	= 0.0	-- PASSED
0.0.0	= 0.0.0	-- PASSED
0	< 0.0.1	-- PASSED
0.0	< 0.0.1	-- PASSED
0.0.0	< 0.0.1	-- PASSED
0	< 0.1	-- PASSED
0	< 0.1.0	-- PASSED
0.0	< 0.1	-- PASSED
0.0	< 0.1.0	-- PASSED
0.0.0	< 0.1	-- PASSED
0.0.0	< 0.1.0	-- PASSED
0	< 1	-- PASSED
0.0	< 1	-- PASSED
0.0.0	< 1	-- PASSED
0	< 1.0	-- PASSED
0.0	< 1.0	-- PASSED
0.0.0	< 1.0	-- PASSED
0	< 1.0.0	-- PASSED
0.0	< 1.0.0	-- PASSED
0.0.0	< 1.0.0	-- PASSED
0.0.1	> 0	-- PASSED
0.0.1	> 0.0	-- PASSED
0.0.1	> 0.0.0	-- PASSED
0.1	> 0	-- PASSED
0.1.0	> 0	-- PASSED
0.1	> 0.0	-- PASSED
0.1.0	> 0.0	-- PASSED
0.1	> 0.0.0	-- PASSED
0.1.0	> 0.0.0	-- PASSED
1	> 0	-- PASSED
1.0	> 0	-- PASSED
1.0.0	> 0	-- PASSED
1	> 0.0	-- PASSED
1.0	> 0.0	-- PASSED
1.0.0	> 0.0	-- PASSED
1	> 0.0.0	-- PASSED
1.0	> 0.0.0	-- PASSED
1.0.0	> 0.0.0	-- PASSED
0	= 0.0.0.1	-- PASSED
0.0	= 0.0.0.1	-- PASSED
0.0.0	= 0.0.0.1	-- PASSED
0.0.0	= 0.0.0.1.2	-- PASSED
0.0.0.0	= 0	-- PASSED
0.0.0.0	= 0.0	-- PASSED
0.0.0.1	= 0.0.0	-- PASSED
0.0.0.1.2	= 0.0.0	-- PASSED

### test_version test cases ###
0.0.0 <  0.0.0	 -- PASSED
0.0.0 <= 0.0.0	 -- PASSED
0.0.0 == 0.0.0	 -- PASSED
0.0.0 >= 0.0.0	 -- PASSED
0.0.0 >  0.0.0	 -- PASSED
0.0.0 <  1.0.0	 -- PASSED
0.0.0 <= 1.0.0	 -- PASSED
0.0.0 == 1.0.0	 -- PASSED
0.0.0 >= 1.0.0	 -- PASSED
0.0.0 >  1.0.0	 -- PASSED
1.0.0 <  0.0.0	 -- PASSED
1.0.0 <= 0.0.0	 -- PASSED
1.0.0 == 0.0.0	 -- PASSED
1.0.0 >= 0.0.0	 -- PASSED
1.0.0 >  0.0.0	 -- PASSED
Comment 2 Armin Kuster 2019-05-23 15:00:11 UTC
eclipse has been dropped.
Comment 3 Armin Kuster 2019-05-23 15:06:54 UTC
closing