Bug 3234

Summary: tooltips cannot parse MACHINE var
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Alexandru Georgescu <alexandru.c.georgescu>
Component: eclipse-pluginAssignee: Jessica <jessica.zhang>
Status: VERIFIED NOTABUG QA Contact:
Severity: normal    
Priority: Medium CC: ioanax.grigoropol, yp.ep.watcher, yp.watcher
Version: 1.3   
Target Milestone: 1.3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Alexandru Georgescu 2012-10-04 14:17:49 UTC
1.New a bitbake recipe by populated the relevant information(include LICENSE field).

2.Modify the recipe using the variable reference, something like this:
FOO = "foo" 
BAR = "${MACHINE}-${FOO}"
BAA="${BAR}"

3. then, move the mouse over "${FOO}" and wait for a while to see if there is text hover information showing the value of variable "FOO". 

4. Move the mouse over ${MACHINE} and see what's the value of that variable.

5 Move the mouse over ${BAR}and see what's the value of that variable.

EXPECTED RESULT:

3. ${FOO} value is foo
4. ${MACHINE} variable is the default machine defined in conf/local.conf. In my case should be: qemux86
5. ${BAR} value is: qemux86-foo

ACTUAL RESULT:
3. ${FOO} value is foo
4. ${MACHINE} value is NOT displayed.
5. ${BAR} value is: qemux86-foo
Comment 1 Jessica 2012-10-05 17:52:30 UTC
The tooltip is based on the environment variable coming from "bitbake -e".  And MACHINE setting is comment off from bitbake -e thus we can't get it's value.  If we need to see the variable value, have to fix in bitbake
Comment 2 Alexandru Georgescu 2012-10-15 11:31:41 UTC
not a bug