Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Sanity Report for CDT 2.0 GA 200406301134 (with Eclipse GA 200406251208 )

***********************
Warning: Your file, 4projects4sanity.zip, contains more than 32 files after decompression and cannot be scanned.
Warning: Your file, Sanity.BubbleSort.zip, contains more than 32 files after decompression and cannot be scanned.
***********************


Here is the sanity for CDT GA.    This build runs with Eclipse GA.

Best regards,


Mathieu Lapensée
CDT Software Verification Lead
IBM - SWG - Rational Division
CDT 2.0 Sanity Report for Build 200406241134

 CDT sanity report

Status

Build can be adopted internally. 

Build Numbers

Component Build Number
Eclipse 3.0 200406251208 GA
CDT 2.0 200406301134 GA

 

Configurations

Operating System Matching JRE
Windows 2000 IBM JRE 1.4.2 J9 June 23
RedHat 3.0 Sun JRE 1.4.2
SLES 9 RC IBM JRE 1.4.2 J9 June 23

 

Major Work Flows

Work Flow Windows Linux

1) Create a Project  (Managed C/C++ and Standard C/C++)

Passed

2) Import a Project

Passed (See Non-blocking Issues Existing)

3) Build a Project   (Managed C/C++ and Standard C/C++)

Passed (See Non-blocking Issues Existing)

4) Debug  a Project

Passed (See Non-blocking Issues Found and Existing)

5) Running  a Project

Passed (See Non-blocking Issues Existing)

Non-blocking Issues Found:  

69317: [Debug][Disassembly view] Any action in Debug perspective after launching Disassembly view gives an exception.

69390: ConcurrentModificationException while importing & building

Non-blocking Issues Existing:  

69070: [Build] Zombi Build Project (Waiting) processes

65148: [Managed Build] Cannot build after cancel build of Managed Project (State -> New)

67166: [Running] Problems launching/running a simple program

68173: [Debug] Got 2 CDT exceptions after shutting Eclipse down

67984: [Importing] After importing a C/C++ project, it should ask the user to open the C/C++ perspective

Non-blocking Issues Fixed (From previous sanities): 

68485:CoreException after creating a Managed C project

Non-blocking Issues To be Verified (From previous sanities): 

Eclipse bug: 64729:  core lib not loaded in Solaris and AIX (State->New)

Features

Workflow Windows Linux

1) C/C++ Language Highlighting

Passed

2) Search

Passed (See Non-blocking Issues Existing)

3) Selection Search

Passed (See Non-blocking Issues Existing)

4) Scanner Configuration

Passed

5) Content Assist

Passed

6) Refactoring

Passed (See Non-blocking Issues Existing)
7) C/C++ Projects View Passed (See Non-blocking Issues Existing)

8) Class Browsing

Passed (See Non-blocking Issues Existing)
9) Indexer Passed
10) C/C++ File Types Not Tested

NOTE:  Solaris, AIX and HPUX failing issues will be reviewed the next time we do a sanity on those platforms  (Please see Sanity 200405290301 (M9)  for those issues)

Non-blocking Issues Found:

69318: [Refactor] Renaming a class in a project breaks the build for another project that includes the class being renamed.

Non-blocking Issues Existing:

68500: [Outline View] After doing a rename of a class, the outline viewer does not display the new name (just the old name)

65154: [C/C++ Browsing]: Could not locate definition of type "(global)", etc.   (State->New)

65161: [Search] CS Search from Outline View ignores enclosing namespace (State->New)

Non-blocking Issues Fixed (From previous sanities): 

66727: [Search] C/C++ Search does not give right result

68261: [Search] Zombi Search processes left hanging

67248: [Indexer]  not kicked off after reopening a Managed Project

65130: [Indexer] progress appears to run twice over project

65010: [Indexer] errors when project name is too big

65145: [Content Assist] NPE when ^SPC with no prefix only on HPUX and AIX

Non-blocking Issues To be Verified (From previous sanities): 

61335: [C/C++ Projects View] Binaries folder disappears  (State->New)

62358: Cannot Search for Debug executables in Unix MgdMake projects

62363: [New Project Wizard] Height of New Project dialog becomes excessive when creating standard projects in Motif (State->New)

62365: [CEditor] The breakpoint margin is indistinguishable from the editor window in Motif    (State->New)

Smoke Test Suite (Sanity Level 1)
 Test cases that quickly evaluate a build

Show Document Information  Show Document Information

Notes

Before you begin

  1. If you have a copy of LogAlert to monitor your <workspace>/.metadata/.log file, start it now. (Windows only)
  2. Disable the auto-build feature before you begin.
  3. For Windows,  please install eclipse and CDT onto "Program Files".  This will add a space in the path of the workspace and all related files of the CDT.
  4. If you are running eclipse with the IBM JRE, create a short cut of eclipse.exe and in the properties, make sure you should have ".../eclipse.exe" -vmargs -Xj9.  Verify that in Help->About Eclipse Platform->Configurations Details", you are running with the J9 option.

Create Project

Steps

  1. Create a new managed make C++ project, call it MgdCpp. (how to create a project)
  2. Create a new standard make C++ project, call it StdCpp.
  3. Create a new managed make C project, call it MgdC.
  4. Create a new standard make C project, call it StdC.
  5. Verify that all four projects were added to the workspace and that they were opened in the C/C++ Perspective.

Steps

    Note: Bring up the Progress view and make sure it is visible while importing the projects. (how to bring up the Progress view)
  1. From the OS file manager, save BubbleSort.zip on your system.
  2. From Eclipse, right click on MgdCpp and click Import. Select "Zip File". Browse for BubbleSort.zip and import it to MgdCpp.
  3. Verify that the project has been imported and is open in the C/C++ Perspective.
  4. Make sure that the Indexer is kicked off after the project is imported.
  5.  
Build Managed Make Project

Steps

  1. Add a new file to MgdCpp, call it main.cpp.
  2. Type the following in main.cpp:
#include <iostream>
#include "BubbleSort/SD_01.h"

using namespace std;

int
main(int argc, char **argv) {
    cout << "Starting test case!\n";

    B::SD_01* p;

    p = new B::SD_01();     // ** (A) **

    p->goBubbleSort();

    for (int i = 0; i < 10; ++i) {
        cout << "Printing number " << i << "\n";
    }

    cout << "Stopping test case!\n";     // ** (B) **
}

  1. Save the file and initiate a build.
  2. Verify that a build was executed successfully.

Steps  

  1. Select MgdCpp in C/C++ Projects view.
  2. Create a new Run configuration (how to create a Run configuration)
  3. Run the configuration.
  4. Verify that execution of the program produces no errors.

 

Import Existing C++ Projects

Steps

  1. Choose Window->Close All Perspectives.
  2. Open the "Resource" Perspective.
  3. Turn off "Build Automatically".
  4. From the OS file manager, save 4Projects4sanity.zip on your system.
  5. Unzip the zip file into your workspace.
  6. Display the Progress view and make sure it is visible while importing the projects. (how to bring up the Progress view)
  7. From Eclipse, File->Import...
  8. Choose "Existing Project into Workspace"
  9. Browse to "Logger" and "Finish".
  10. Make sure that the user is asked for displaying the C/C++ perspective.
  11. Make sure that the Indexer is kicked off after the project got imported.
  12. Verify that the project has been imported and is open in the C/C++ Perspective.
  13. Redisplay Progress View because it was not part of C/C++ perspective.
  14. Repeat 7 to 12 with "Random Quote", "Sort" and "Shell" projects.
Build Shell Project

Steps

  1. Make sure that the Progress View and the Console View are both visible simultaneously. (how to bring up the Progress view)
  2. Right-click on the Shell project in the C/C++ Projects view and select "Build Project".
  3. Select "Run in background".
  4. Verify that a build was executed successfully.

Steps   

  1. Right-click on the Shell project and select "Properties"
  2. Go to C/C++ Make Project->Binary Parser, select "PE Windows Parser" and click OK.
  3. Open SHL_Interface under the interface in the Shell project.
  4. Set a break-point on the first printf statement in the runShell function.
  5. Create a new Debug configuration. (how to create a new Debug configuration)
  6. Under the 'Debugger' tab, check the 'Stop at main()' checkbox.
  7. Under the arguments tab, enter -u <your name> without the angular brackets.
  8. Run the configuration.
  9. Verify that the program paused at main().
  10. Run to the first break-point (F8 is the shortcut for this step).
  11. Verify that execution is now paused at the printf statement in method runShell().
  12. Resume. (it will ask for input)
  13. Type quicksort in the dos prompt.
  14. Type exit in the next dos prompt to run to completion.
  15. Verify that execution has ended without any errors.

 

Log File, Silent Failures

Steps

  1. Close Eclipse.
  2. Verify that <workspace>/.metadata/.log does not contain any errors.

<<< text/html; name="SanityLevel2.html": Unrecognized >>>

Attachment: 4projects4sanity.zip
Description: Zip archive

Attachment: Sanity.BubbleSort.zip
Description: Zip archive


Back to the top