Bug 6903 - [Test Case 375] ADT-installer - C - build Clutter Hello World project
Summary: [Test Case 375] ADT-installer - C - build Clutter Hello World project
Status: RESOLVED WORKSFORME
Alias: None
Product: Eclipse Plugin
Classification: Yocto Project Subprojects
Component: eclipse-plugin (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.8 M2
Assignee: Ramapriya M K
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-10-28 23:51 UTC by Ramapriya M K
Modified: 2014-12-22 20:53 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ramapriya M K 2014-10-28 23:51:54 UTC
STATUS: FAILED
BUILD: master:9eb88ceb39b7d0b8ddc6487e61ce8edadef10ec4
ENVIRONMENT: Ubuntu 12.10 x86_64
STEPS TO REPRODUCE: 
  
Launch a QEMU of target enviroment.(Reference to case "ADT - Launch qemu by eclipse")

Select File -> New -> Project.
Double click C/C++.
Click C or C++ Project to create the project.
Expand Yocto ADT Project.
Select Clutter Hello World project.
Put a name in the Project name. Do not use hyphens as part of the name. 

Click Next.
Add information in the Author and Copyright notice fields.
Click Finish.
If the "open perspective" prompt appears, click "Yes" so that you open the C/C++ perspective.

In the Project Explorer window, right click the  project -> Reconfigure project.

In the Project Explorer window, right click the  project -> Build project.


Right click it again and Run as -> Run Configurations.
Under Run Configurations expand "C/C++ Remote Application". A configuration for the current project should appear. Clicking it will display the configuration settings.
in "C/C++ Application" field input Remote Absolute File path for C/C++ Application. e.g.: /home/root/myapplication
in "Commands to execute before application" enter:
export DISPLAY=:0.0

In "Connection" drop-down list make sure a TCF connection is set up for your target. If not, create a new one by clicking the New button.

After all settings are done, select the Run button on the bottom right corner
Repeat the steps 14-15, but instead of using Run Configurations use Debug Configurations:

Right click it again and Run as -> Debug Configurations
Under Debug Configurations expand "C/C++ Remote Application". A configuration for the current project should appear. Clicking it will display the configuration settings.
in "C/C++ Application" field input Remote Absolute File path for C/C++ Application.
e.g.: /home/root/myapplication
in "Commands to execute before application" enter:
export DISPLAY=:0.0

In "Connection" drop-down list make sure a TCF connection is set up for your target. If not, create a new one by clicking the New button
After all settings are done, select the Debug button on the bottom right corner


EXPECTED OUTCOME:  13. Under the Project files, a new folder appears called Binaries. This indicates that the compilation have been successful and the project binary have been created.

14-16. Build succeed and the console outputs "Hello world", you can also check the output on target.
Comment 1 Ross Burton 2014-10-30 15:04:27 UTC
I don't see any details about the failure in the report, how did it fail?
Comment 2 Jessica 2014-11-03 21:20:16 UTC
What is the failure? Also, please can you try RSE connection instead of TCF? Overall we recommend people to use RSE instead of TCF
Comment 3 Richard Purdie 2014-12-18 15:43:20 UTC
Not enough information to look into this. If answers to the questions are available, please reopen.