release notes - vectorcast: 6 · release notes - vectorcast: 6.3e vectorcast c, c++, ada (core)...

21
Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version 6.3e implements a new button on the Execution Status window. This window is displayed automatically when executing batch. By default, the Execution Status window hides the following panes: * the dynamic list of Test Cases and their PASS/FAIL status * the command used to invoke the test harness * the standard output and error from the harness execution Logging the above information in real-time can slow down the execution time in large environments, but is useful for debugging problems during execution, especially when running on a target. Therefore, the user can decide to show the details by clicking the "Show Details" button, or to hide the details by clicking the "Hide Details" button. By default, the details are hidden to support faster batch execution times. The button reads "Shows Details." 41995: Crash when trying to execute tests while Coverage Disable is still processing Previously, a crash occurred while trying to execute batch while coverage disable was still processing. In VectorCAST version 6.3e, the problem is avoided by disabling the cursor until the coverage disable has finished. VectorCAST/Ada: 41149: CBT For Ada Environments - Changes to Dependent Bodies Detected In VectorCAST version 6.3e, phase 2 of Change-based Testing for Ada environments is implemented. Changes to dependent unit bodies that have custom coverage enabled are now detected. The user makes a modification to a dependent body, recompiles the sources, and then initiates Environment => Incremental Rebuild. VectorCAST determines which dependent bodies have changed, updates the associated portions of the test harness, and recompiles and then re-instruments those portions. Affected test cases have their execution and coverage data removed.

Upload: vannguyet

Post on 08-Nov-2018

364 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

Release Notes - VectorCAST: 6.3e

VectorCAST C, C++, Ada (Core)

41043: Ability to show/hide test execution details while executing

VectorCAST version 6.3e implements a new button on the Execution Status window. This window is displayed automatically when executing batch. By default, the Execution Status window hides the following panes: * the dynamic list of Test Cases and their PASS/FAIL status * the command used to invoke the test harness * the standard output and error from the harness execution

Logging the above information in real-time can slow down the execution time in large environments, but is useful for debugging problems during execution, especially when running on a target. Therefore, the user can decide to show the details by clicking the "Show Details" button, or to hide the details by clicking the "Hide Details" button.

By default, the details are hidden to support faster batch execution times. The button reads "Shows Details."

41995: Crash when trying to execute tests while Coverage Disable is still processing

Previously, a crash occurred while trying to execute batch while coverage disable was still processing. In VectorCAST version 6.3e, the problem is avoided by disabling the cursor until the coverage disable has finished.

VectorCAST/Ada:

41149: CBT For Ada Environments - Changes to Dependent Bodies Detected

In VectorCAST version 6.3e, phase 2 of Change-based Testing for Ada environments is implemented. Changes to dependent unit bodies that have custom coverage enabled are now detected.

The user makes a modification to a dependent body, recompiles the sources, and then initiates Environment => Incremental Rebuild. VectorCAST determines which dependent bodies have changed, updates the associated portions of the test harness, and recompiles and then re-instruments those portions. Affected test cases have their execution and coverage data removed.

Page 2: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

The Incremental Rebuild Report indicates which units were modified, which subprograms were affected by the change, and which testcases were affected.

When the body of a non-stubbed dependent unit with custom coverage is modified, all subprograms in the unit are considered "affected". An "affected testcase" is any testcase that calls, directly or indirectly, an affected subprogram.

VectorCAST/C++:

4536: Improved support for function pointers

Previously, when source code contains a function pointer, VectorCAST required the user to set the Input and Expected Values for that parameter in user code.

VectorCAST version 6.3e provides improved support for function pointers. In the Parameter Tree, the type for such parameters is no longer "user"; it is now type "FunctionPointer." The Input and Expected Values provide a dropdown menu that lists all global functions that match the signature of the parameter. If only <<null>> is shown in the list, then no compatible functions were found.

To disable function pointer support, set the Builder option "Enable function pointer type support" to False and (re)build the environment. In the Parameter Tree, the parameter type is again "users"; you must set a value using Parameter User Code.

clicast -lc option VCAST_FUNCTION_POINTER_SUPPORT True | False The default value is True.

37121: Negative step range mode broken

Environments built with VectorCAST 6.2d or later did not properly execute tests with a negative range step. The tests began with the last value instead of the first value specified. This problem has been resolved in VectorCAST version 6.3e. If you have an older environment and wish to use a negative range step, then you must rebuild the environment.

34395: VectorCAST crashes with Incremental Rebuild with imported coverage results

Previously, attempting to do an incremental rebuild on an environment with imported coverage results could cause VectorCAST to crash. This problem has been resolved in VectorCAST version 6.3e.

40342: Generated concrete class may not compile for abstract class with 2 base classes having functions with the same name

Page 3: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

Previously, if an abstract class inherited both a pure virtual function and a defined function from different base classes, it was possible for the concrete class to omit a definition for the pure virtual class, causing a compile error in the test harness. This problem has been resolved in VectorCAST version 6.3e.

40797: Invalid member initializer generated when called constructor is non-instantiated template-based constructor

The member initializers generated by VectorCAST calling some non-instantiated template-based constructor did not compile if zero was not a valid parameter value. This problem has been resolved in VectorCAST version 6.3e.

41142: Harness should print globals and coverage data if exit() is called by code under test

Previously, if a test had expected values for global variables and exit() was called by the code under test, VectorCAST incorrectly reported an abnormal termination and failed to display coverage data. Now new environments will print global values after the exit() call. This has been fixed in VectorCAST version 6.3e.

41223: Char Type Numerical data becomes blank after input if original value from test script was an unprintable character

If a test script set a character value to an unprintable character, importing the test script and attempting to set that character value in the GUI did not work. This problem has been resolved in VectorCAST version 6.3e.

41298: Do not generate library stub for inline functions

Previously, if an inline function was selected for library stubbing, the test harness did not compile. Now a warning message is printed, and the function is not stubbed. This has been resolved in VectorCAST version 6.3e.

41782: Error importing test script with TEST.STUB line for operator[]

Stubs for overloaded subscript operator functions caused test script import errors. Those scripts now import without errors. This has been fixed in VectorCAST version 6.3e.

VectorCAST/Manage:

36387: Control and Data Coupling for DO178

Data and Control Coupling Analysis has been added to VectorCAST version 6.3e to aid

Page 4: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

customers in satisfying this DO-178B/C requirement. This new feature allows you to create two new reports: * an External References Report, which shows the data and functions that are needed but not defined in a component, and * a Coupling Report, which shows the couples that exist between two components. For full details, please refer to the VectorCAST/Manage User's Guide Tool Reference section.

VectorCAST/RSP:

39422: Binary literals should be recognized using the default Renesas compiler settings

Source code containing binary literals, such as 0b0000001, did not parse for the Renesas M16C/R8C, M16C/M32C, and R32C compilers. This problem has been resolved in VectorCAST version 6.3e.

40088: Parse error for initializations of anonymous unions without enclosing braces using the IAR compiler

When using the IAR compiler, source code containing initializations of anonymous unions without enclosing braces caused VectorCAST to incorrectly give the error: "a designator for an anonymous union member can only appear within braces corresponding to that anonymous union". This problem has been resolved in VectorCAST version 6.3e.

40544: Green Hills C++ source code containing type traits helpers should be parsed with default settings

Previously, for Green Hills C++ source code, --type_traits_helpers had to be added to the parse flags. Green Hills C++ source code containing type traits helper functions are now parsed with the default settings in VectorCAST version 6.3e.

41031: Add default RSP for MSP430 with CCS6

VectorCAST version 6.3e adds support for Code Composer Studio 6 MSP430. To select this compiler in the Options dialog, C/C++ tab, choose Compilers => Code Composer Studio => 4+ => MSP430 => MSP430F5529 => C.

clicast -lc template TI_CC_6_MSP430_F5529

Additionally, the RSP Configurator now includes the ability to create a custom MSP430 configuration.

Page 5: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

41214: Parser should support IAR's static_assert

Previously, IAR source code containing the keyword static_assert could not be parsed. This problem has been resolved in VectorCAST version 6.3e.

41429: Tasking C166 and Tasking TriCore code with a variable declared in a for-statement cannot be parsed

Previously, VectorCAST incorrectly gave a parse error for Tasking C166 and Tasking TriCore compilers when source code contained a variable declaration in a for-statement, such as "for (int i=0; i < 3; ++i)". This problem has been resolved in VectorCAST version 6.3e.

41455: Default Code Warrior Starcore preprocess command should include -slld

Previously, the default compile command for CodeWarrior Starcore included the -slld flag while the default preprocess command did not. This discrepancy caused problems when the source code had a #include of stdint.h and then used the int_least64_t or uint_least64_t types. The source code would compile with the default settings, but VectorCAST gave parse errors because the definitions of int_least64_t and uint_least64_t were omitted from the preprocessed file. In VectorCAST version 6.3e, the default preprocess command includes the -slld flag.

41678: Keil C51 xdata pointers should require user code

Previously, pointers to Keil C51 xdata values were available in the parameter tree, but getting and setting those variables in tests did not work. Now with VectorCAST version 6.3e, those values require user code.

VectorCAST/Cover:

39284: Coverage instrumentation for some C source code with array indexes in aggregate initializations does not compile

When the configuration option "Instrument variable declarations in C" was set, coverage instrumentation for some C source code containing array indexes in aggregate initializations did not compile. This problem has been resolved in VectorCAST version 6.3e.

Release Notes - VectorCAST: 6.3d (Build date 05/05/2015)

Page 6: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

VectorCAST C, C++, Ada (Core)

39400: Cover summary table, save to csv file feature

A new feature has been added to the code coverage filterable table widget in VectorCAST version 6.3d which allows the user to save the table contents in CSV format. Previously, the only option was to save in HTML format. To save as CSV, simply choose "CSV Map Files" as the file type in the Save As dialog.

40617: Numerical Data in "Total Tests to Execute" progress bar displays incorrectly when executing 100+ tests

Previously, when executing more than 100 tests, the progress bar in the Execution Status window did not properly display the current execution status. This problem has been fixed in VectorCAST version 6.3d.

41043: Ability to show/hide test execution details while executing

VectorCAST version 6.3d implements a new button on the Execution Status window. This window is displayed automatically when executing batch. By default, the Execution Status window hides the following panes: * the dynamic list of Test Cases and their PASS/FAIL status * the command used to invoke the test harness * the standard output and error from the harness execution Logging the above information in real-time can slow down the execution time in large environments, but is useful for debugging problems during execution, especially when running on a target. Therefore, the user can decide to show the details by clicking the "Show Details" button, or to hide the details by clicking the "Hide Details" button. By default, the details are hidden to support faster batch execution times. The button reads "Shows Details."

VectorCAST/Ada:

40924: Crash when expanding array elements in Properties dialog for certain source code

A crash occurred while expanding array elements for a constrained array with one or more elements initialized, via the Array Properties dialog. This problem has been fixed in VectorCAST version 6.3d.

40969: VectorCAST/Ada environment builder does not correctly handle subtypes defined in a doubly-nested package

Page 7: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

Previously, when a stubbed subprogram was declared two levels deep (inside a nested package inside another nested package), and it used a local typemark, the Parameter Tree would display the type information correctly, but the test harness was built incorrectly. The user was not able to set/inspect the parameter in the stub and a test script that set input/expected value for the parameter would incorrectly flag the parameter as a "Type not in environment". This problem has been resolved in VectorCAST version 6.3d.

VectorCAST/C++:

4536: Improved support for function pointers

Previously, when source code contains a function pointer, VectorCAST required the user to set the Input and Expected Values for that parameter in user code. VectorCAST version 6.3d provides improved support for function pointers. In the Parameter Tree, the type for such parameters is no longer "user"; it is now type "FunctionPointer." The Input and Expected Values provide a dropdown menu that lists all global functions that match the signature of the parameter. If only <<null>> is shown in the list, then no compatible functions were found. To disable function pointer support, set the Builder option "Enable function pointer type support" to False and (re)build the environment. In the Parameter Tree, the parameter type if again "users"; you must set a value using Parameter User Code. clicast -lc option VCAST_FUNCTION_POINTER_SUPPORT True | False The default value is True.

38672: Harness variables for stub parameter values are no longer initialized to the parameter's default value

In VectorCAST version 6.3d, test harness variables for stub parameter values are no longer initialized to the parameter's default value.

40199: Library stub for memset causes compile error in 2nd UUT

Previously, setting memset, _setjmp, or other functions used by the test harness as library stubs caused compile errors if more than one unit was in the environment. This problem has been resolved in VectorCAST version 6.3d.

40265: Basis path instrumentation does not show covered paths when for-loop has no exit expression and when do-while has constant expr

Previously, basis path instrumentation did not show covered paths when source code contained a for-statement with no exit expression or a do-while statement had a constant

Page 8: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

expression. These problems have been resolved in VectorCAST version 6.3d. A new Coverage option, "Generate basis paths for constant branch conditions", has been added. When this option is True, VectorCAST generates basis path tests treating constant if, while, do-while, and for conditions, such as "if (0)", the same as non-constant branches. When the option is False, then constant conditions for those statements do not add to the cyclomatic complexity. clicast -lc option VCAST_BASIS_PATHS_FOR_CONSTANT_BRANCHES True | False The default value is True.

40397: Basis path test script import errors for unavailable array operands of & and | operators

Basis path test script errors occurred for some source code with array operands for & or | operators where the operands could not be set. This problem has been resolved in VectorCAST version 6.3d.

40608: Lint Analysis window crashes when processing message with ID for Internal Error

Previously, a crash occurred when opening the Lint Analysis window when one or more messages were Lint internal errors having IDs between 1200-1299. This problem has been fixed in VectorCAST version 6.3d.

40666: Incorrect parse error when using Visual Studio when template default argument uses undeclared template

Previously, when using a Visual Studio compiler, the C++ environment builder displayed a parse error when building an environment with source code having a template default argument that uses an undeclared template. This problem has been fixed in VectorCAST version 6.3d.

40788: Incremental rebuild fails when search directory uses environment variable and user globals #includes modified header

VectorCAST was unable to incrementally rebuild if a search directory used an environment variable to specify a path and the User Globals unit #included a modified header file. This problem has been resolved in VectorCAST version 6.3d.

40827: Crash when accessing configure stubs user code

Previously, VectorCAST crashed when opening the Configure Stubs User Code editor (via Environment => Configure Stubs => Edit) when the last UUT in the environment had no stubs. The problem has been fixed in VectorCAST version 6.3d.

Page 9: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

40917: Crash during incremental rebuild when user globals #includes modified header

If a header file #included by the User Globals unit was modified after environment build, an incremental rebuild could cause VectorCAST to crash. This problem has been resolved in VectorCAST version 6.3d.

VectorCAST/Manage:

37752: Make it easier to import a complex configuration into VectorCAST

VectorCAST version 6.3d provides improved support for importing existing complex configurations into a Manage project by allowing the user to create a Compiler level from a .CFG file. To create a new Compiler level from a .CFG file, right-click on the Platform level node and select Add Compiler => From Configuration File. Select the .CFG file from the dialog. VectorCAST/Manage creates a Compiler node in the Project Tree based on the file options and adds it to the Platform level. clicast -lc option --cfg-to-compiler=<CFG_FILE> [--platform=<PLATFORM> | --level=<SOURCE>/<PLATFORM>] Creates a compiler from a given CFG file. User must provide platform level.

40241: Allow deletion of multiple nodes in Manage

In a Manage project, the user can now multi-select several nodes, right-click on one, and choose Delete. The type of node right-clicked is the type of node that is deleted from the selection. In VectorCAST version 6.3d, this functionality has been extended to enable you to delete nodes of type Compiler as well as Testsuite and Group.

40245: Allow the clear of multiple configuration options at the same time

VectorCAST version 6.3d enables the user to clear the value of one or more options from the Project Tree. * To clear all options of all selected nodes, right-click one of the selected nodes in the Project Tree and choose Clear All Options => Selected Node(s). * To clear all options of only the child nodes of the selected nodes, right-click one of the selected nodes and choose Clear All Options => All Children. * To clear one option of a single or multi-selected nodes, right-click one of the selected

Page 10: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

nodes and choose Clear Single Option => <name of the option you want to clear>.

40582: Crash when Configuration View is closed after deleting a node in the Manage project

A crash occurred in VectorCAST/Manage when the Configuration View was closed or saved after a node was deleted in the Project Tree. This problem has been fixed in VectorCAST version 6.3d.

VectorCAST/RSP:

36795: Recommended compile option for Cosmic HCS12X should include -gsf

The default compile command for Cosmic PPC, S12X, and S12Z compilers now uses the flag -gsf. This splits functions into separate text sections, preventing problems where a function is split across two banks. This has been changed in VectorCAST version 6.3d.

40268: Support for struct fields that are struct type with no field name for IAR and Cosmic

VectorCAST was unable to parse source code containing struct fields of struct type without a field name for the IAR and Cosmic compilers. This problem has been resolved in VectorCAST version 6.3d.

40534: Test harness does not compile for IAR template types that take a nonconstant value

Previously, test harnesses for IAR source code containing template types that take a nonconstant value, such as: template <int* p> class MyTemplate { public: int* m_p; }; int* const g_p = (int*)0x0badc0de; MyTemplate<g_p> instance; had incorrect code and did not compile. This problem has been resolved in VectorCAST version 6.3d.

40589: iSystems RSP does not support Buffer Overrun

VectorCAST version 6.3d includes additional support for Buffer Overrun when using the

Page 11: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

iSystems RSP.

41129: Parse error for Code Composer compiler when reinterpret_cast is used to cast away the far qualifier

VectorCAST incorrectly gave a parser error in some cases when types with Code Composer far or near qualifiers were cast to non-far or non-near types. This problem has been resolved in VectorCAST version 6.3d.

Release Notes - VectorCAST 6.3c (Build date 4/1/2015)

VectorCAST C, C++, Ada (Core)

36842: Chinese and Japanese missing from choice of GUI display languages

Previously, when selecting GUI display languages, Chinese and Japanese would not be a choice in the list. This has been fixed in VectorCAST version 6.3c.

39451: Race condition is generating CCAST_.CFG

A possible race condition has been identified in VectorCAST when building and executing multiple test environments concurrently in a common location on Solaris. This has been resolved in VectorCAST version 6.3c.

40669: Aborted Execution job does not kill its children process(es) on Solaris

Previously, when executing a test in an environment on the Solaris platform, clicking the Abort Execution button did not kill all child processes that were initiated by the Execute command. This problem has been fixed in VectorCAST version 6.3c.

VectorCAST/Ada:

39805: CBT For Ada Environments

VectorCAST version 6.3c implements phase one Change-Based Testing for Ada. With this release, the "Incremental Rebuild" menu item becomes available for Ada Unit Test environments. When the menu item is selected, one of the following situations occurs: a) If no source code changes are detected in any UUT or any dependents, a message is displayed indicating no rebuild is necessary.

Page 12: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

b) If a package spec has changed in the UUT or any dependents, a message is displayed indicating a full rebuild is required, and a report is generated showing which package specs have changed. c) If no package spec has changed, but a UUT body or body of a non-stubbed dependent has changed, then a message is displayed indicating a full rebuild is required, and a report is generated showing which package bodies have changed.

40354: Unable to set object whose type comes from renamed generic instantiation

Previously, when typemarks reference a renamed package, and the target of the rename is an instantiation of a generic child package, the Parameter Tree would allow the user to set the value of the parameter/object, but the execution would sometimes show the data as "Not Supported" instead of the actual value. This problem has been fixed in VectorCAST version 6.3c.

40668: Apex separates should be included into unit in alphabetical order

Previously, when using the Apex compiler in an environment with a unit under test that contained separates, when the unit was instrumented for coverage, the separates were added to the end of the unit in the order returned by the UNIX "find" command. As this order could change from file-system to file-system, VectorCAST version 6.3c now sorts the result from the find command so that the separates are added in alphabetical order.

VectorCAST/C++:

37721: Crash during basis path analysis for certain expressions involving pointer comparisons to unavailable variable values

VectorCAST crashed during basis path analysis for source code containing certain expressions involving pointer comparisons to unavailable variable values. This problem has been resolved in VectorCAST version 6.3c.

39229: Parser error in Visual Studio mode when code relies on 64-bit sizeof

Previously, Visual Studio code relying on a 64-bit size_t type could not be parsed. In VectorCAST version 6.3c, that is possible when --64_bit_target is added to the parser flags.

39294: Lint tooltip for messages 960/1960 (Misra related) confuses display driver

Large Lint messages created tooltips with geometry which overlapped the position of the cursor. This condition resulted in a tooltip being triggered recursively. This issue has been resolved in VectorCAST version 6.3c. VectorCAST checks the geometry of the tooltip and trims its description if necessary.

Page 13: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

39316: Parser internal error in g++ mode

In previous versions of VectorCAST, an internal parser error could occur when a class contained a using-declaration for an operator new from a template-dependent base class. This problem is fixed in VectorCAST version 6.3c.

39909: Concrete class method incorrectly generated if pure virtual function is variadic

When the Builder option "Automatically generate concrete classes" was True, VectorCAST environments for abstract classes containing variadic pure virtual functions did not compile. This problem has been resolved in VectorCAST version 6.3c. Older environments with this problem need to be rebuilt to avoid the compile error.

40445: Harness compile error when template-based friend function is defined within a class

When a friend function is defined within a class, it is part of the enclosing namespace, not a member of the class. Such functions are subject to different name lookup rules, and are sometimes not callable from outside the class without a separate function declaration outside the class. VectorCAST adds such a declaration in order to allow the harness to call the function as testable. In previous versions of VectorCAST, this declaration would be generated incorrectly if the function was template-based, resulting in either a compile error or a link error. This problem is fixed in VectorCAST version 6.3c.

VectorCAST/Manage:

32785: Incremental Build Using Imported Data Source

VectorCAST version 6.3c improves Incremental Build functionality in Manage. When a Manage project has Imported Results from other instances of the project, these results contain information on source code timestamps. With this release, Incremental Build detects if an environment is out of date by looking at its imported results for source code changes. This improvement allows the user to do an incremental build/execute based on imported results from another user's run of the Manage project. The most likely work-flow using this feature involves each user having an SCM checkout of the Manage project. Each user may execute environments independently and export their results to a common location. Other users would then import those results to their checkout of the Manage project. A new Manage-only configuration option, named "MANAGE_ROOT_SOURCE_DIR," is used to indicate the root directory of each user's SCM check-out of the project. The best

Page 14: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

practice is to set this configuration option's value with an environment variable, so that the project's .vcm file can be checked in to SCM but still be changed to accommodate the location of the root directory of the project for each individual user. The user could also select the top level directory of the SCM check-out. For example, each user sets the value of an environment variable, say, SOURCE_CHECKOUT, to point to the root directory where they have checked out the Manage project. They do this before launching VectorCAST and opening the Manage project. The Manage project has been configured to set the option "MANAGE_ROOT_SOURCE_DIR" to be $(SOURCE_CHECKOUT). Commit the project .vcm file after setting the option: $VECTORCAST_DIR/manage -p <project> --config='MANAGE_ROOT_SOURCE_DIR=$(SOURCE_CHECKOUT)' Each user starts VectorCAST with this environment variable set: export SOURCE_CHECKOUT=<path to root dir of checkout tree>

38684: Manage Summary Report displays environment's full context

The Manage Report in VectorCAST version 6.3c has the following changes: 1. The report includes the parents of the level the report was generated from. 2. The 'TOTALS' row has been removed since it is now redundant with the parent level rows. 3. Disabled environments are no longer displayed.

40107: Crash while attempting to export results

Previously, selecting Project => Export Results without an open Manage Project would cause VectorCAST to crash. This problem has been resolved in VectorCAST version 6.3c.

40444: Remove checksum method option

The method to detect file changes has changed in Manage version 6.3c. Timestamp is used first to quickly check for changes. If the timestamp has changed, the file is checked further to detect changes to the file. The Manage configuration option "File compare method" has been removed from the Configuration view.

40667: Manage fails to create and import an environment if a . (dot) is in the directory path

When the path to a VectorCAST/Manage project contained dots, the 'Create New Environment' feature would fail. This problem has been resolved in VectorCAST version 6.3c.

Page 15: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

VectorCAST/RSP:

39089: Unable to build IAR environments when source directory names have spaces

When the IAR compiler was selected, VectorCAST 6.3a and later versions could not build environments if source directory names contained spaces. This problem has been resolved in VectorCAST version 6.3c.

39262: VectorCAST/Ada RSP should configure I/O file array using VCAST_MAX_TARGET_FILES option

When using VectorCAST/Ada with the option "Execution process uses stdin/stdout for file IO" ( VCAST_CONFIGURABLE_ADA_IO is TRUE), during I/O processing, an array is created in the harness to store the data for all files opened/created by the harness. For a large compound test, this array could overflow, causing harness errors. In VectorCAST version 6.3c, the new Target option "Maximum target files" (VCAST_MAX_TARGET_FILES) now controls the size of this array. When the user tries to run a compound test that will overflow the array, a message is displayed indicating that the option should be modified and environment recompiled before the test will be allowed to run. clicast -lada option VCAST_MAX_TARGET_FILES <integer number> The default value is 20 files. The test harness must be recompiled for changes to take effect. In addition, in VectorCAST/C++, the Target option "Maximum target files" is now available on the Target tab and automatically sets the macro VCAST_MAX_FILES. clicast -lc option VCAST_MAX_TARGET_FILES <integer number> The default value is 20 files. The test harness must be recompiled for changes to take effect.

39602: Linker issue caused by compiling .c file as .cpp when VCAST_EXECUTE_WITH_STDOUT configuration option is true

The harness file vcast_stdin_data.c did not link when the configuration option VCAST_EXECUTE_WITH_STDOUT was set to true and the .c extension was classified as C++. This problem has been resolved in VectorCAST version 6.3c.

40400: During Execution, only action enabled buttons can be raised

Previously, some icons and controls in the VectorCAST toolbar would raise on a mouse-over during test execution even though further action is blocked by the currently

Page 16: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

executing test. This has been improved in VectorCAST version 6.3c.

Release Notes - VectorCAST: 6.3b (Build date 02/11/2015)

VectorCAST C, C++, Ada (Core):

39131: VectorCAST version 6.3a installer fails to update older installations

VectorCAST version 6.3a was unable to be installed over a 6.2 Windows release of VectorCAST, displaying the message "The setup has detected that version <old> of VectorCAST is already installed. This setup installs an earlier version of VectorCAST. You will have to uninstall the previous version before installing this version." This problem has been fixed in VectorCAST version 6.3b.

VectorCAST/C++:

39319: VectorCAST environments do not compile with GNU flag -Werror

VectorCAST 6.3 environments did not compile when the GNU flag -Werror was used and the macros VCAST_MONITOR_STACK and VCAST_MONITOR_HEAP were not defined. This problem has been resolved in VectorCAST version 6.3b.

VectorCAST: 6.3a Initial Release

VectorCAST C,C++,Ada (Core)

26377: Usability of "Choose UUTs & Stubs" dialog for large number of files

VectorCAST version 6.3a improves the usability when moving units between the UUT, STUB and DONT_STUB nodes in the Create New Environment Wizard. When there are many Units Under Test, an auto-scroll zone is established at the top and bottom. When the user drags a unit name into one of the auto-scroll zones, the list scrolls quickly in that direction, making it easier to drag a unit from the UUT node to the STUB or DONT_STUB nodes, or vice versa.

Page 17: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

37246: Quick Start Guide

The Quick Start Guide is a quick reference guide provided in VectorCAST version 6.3a that is designed to assist users in getting started quickly with the basic features of VectorCAST using a variety of built-in examples. The Quick Start Guide introduces users to: * Creating a VectorCAST/C++ unit test environment and running tests. * Creating a VectorCAST/Cover system test environment and capturing code coverage. * Creating a VectorCAST/Manage project for testing collaboration. The Getting Started with VectorCAST User's Guide has been renamed Interactive Tutorials. Both user guides are available from the Help menu VectorCAST as well as the Start menu in Windows.

VectorCAST/Ada:

37554: Zero-length unconstrained array can cause harness exceptions

When the harness works with unconstrained array parameters, it stores the 'first and 'last values into objects defined using the index type. Previously, when an unconstrained array used an index type that did not include 0 (for example, "type array_t is array ( positive range <> ) of character"), the harness could raise an exception when a 0-length array was passed in, because the 'last value for that parameter is 0 (which is not in the index type range). This has been fixed in VectorCAST version 6.3a.

38125: Cannot set/inspect parameter of private-only subtype of private-only type

Previously, if a subtype was declared only in the private section of a unit, and the parent type was also only declared in the private section, then the user would not be able to set parameters/objects of the subtype, even in Multiunit Whitebox environments. This has been fixed in VectorCAST version 6.3a.

VectorCAST/C++:

36411: User code at string pointer level not visible in parameter tree

Previously, when an imported test script contained user code for a string in pointer mode, the Parameter Tree did not show "<<user>>", thus adding confusion about whether the user code was present or not. This problem has been fixed in VectorCAST version 6.3a.

Page 18: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

36670: Intel asm volatile statements receive incorrect coverage instrumentation

Intel inline assembly received coverage instrumentation in locations which did not compile. This problem has been resolved in VectorCAST version 6.3a.

38407: Wrongly initialised stub parameter gives error C2440: 'initializing' : cannot convert from 'const unsigned char [255]' to etc

A problem with the environment builder incorrectly adding initializers for prototype stub P objects caused build failures in certain environments. This problem has been fixed in VectorCAST version 6.3a.

38458: Parse error with Visual C++ source which uses unqualified struct name from a namespace

Visual C++ 6 allows certain unqualified uses of type names from unrelated namespaces. In previous versions of VectorCAST, some such uses would cause a parse error in VectorCAST because the unqualified type name appeared to be undefined. This problem is fixed in VectorCAST version 6.3a.

38487: Parser cannot handle #pragma pack directive with no parentheses

VectorCAST incorrectly gave an error for GNU and Visual Studio compilers if a source code line contained "#pragma pack" and omitted the enclosing parentheses. This problem has been resolved in VectorCAST version 6.3a.

VectorCAST/Cover:

27917: MDI Summary Page for Code Coverage Information

The main toolbar now contains a button to open the Code Coverage Summary in VectorCAST version 6.3a. Code Coverage Summary allows the user to easily view coverage information for all the UUT and subprograms in an environment or all the environments of a Manage project. Coverage data is dynamic and is updated following an execute action. Double-clicking on a line in the Code Coverage Summary opens the corresponding UUT in the Coverage Viewer. Filtering is available to locate data of interest. Access the filter by typing into the top row of any column. Clear the filter by right-clicking in the top row and selecting Clear Filter. The Coverage columns can be filtered arithmetically, for example, showing only items with <100 percent coverage. Columns can be sorted by clicking on the Column heading.

Page 19: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

38366: Incorrect instrumentation when variable declared in loop condition

'While' statements with a variable declaration in the loop condition incorrectly received branch and MC/DC coverage instrumentation one column after the end of the loop body. The bad placement resulted in compile errors if anything other than whitespace was in that location. Variables initialized to a constant value were incorrectly assumed to have two possible condition values. Additionally, the loop condition was not set properly if the loop body contained a continue statement. These problems have been resolved in VectorCAST version 6.3a.

38457: Crash instrumenting source containing static local variable

Branch or MC/DC instrumentation of source code containing a static local variable initialized to a coverable value caused VectorCAST to crash if the configuration value VCAST_INSTRUMENT_ASSIGNMENTS was set to true. This problem has been resolved in VectorCAST version 6.3a.

VectorCAST/Manage:

32790: VectorCAST/Manage can Import Results Three Ways

In VectorCAST/Manage version 6.3a, users can import results from a clone of a Manage project using an accessible top-level node. Located at the top of the project tree, the node is named "Imported Results," and provides a right-click menu to add, remove, refresh, enable, disable, and get the properties. Additionally, you can export a "snapshot" of the clone's results in a zipped results file (*.vcr). With the project open whose results are to be exported, choose Project => Export Results. In the dialog, navigate to the destination for the file, enter a name, and click Save. The file extension is .vcr (for VectorCAST Results). To import results from a clone project's current workspace: 1. Right-click the Imported Results node in the "original" project (the one receiving the imported results), and choose Add. 2. In the dialog, navigate to the cloned project's directory. Here, you can select the project's .vcm file itself. The default alias is "<name of cloned project><project ID>". 3. Click Import. The build, execution, and coverage results from the clone project's default workspace (build) are imported to the project. Results imported by the clone project's .vcm file are automatically refreshed on Project open or they can be manually refreshed by right-clicking and choosing Refresh. To import results from any of a clone's workspaces, 1. Right-click the Imported Results node in the "original" project, and choose Add. 2. In the dialog, navigate to location of the cloned project's workspace and click the <workspace>.vcw file. The new file extension .vcw stands for "VectorCAST workspace."

Page 20: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

The default alias is "<name of workspace directory>". 3. Click Import. The build, execution, and coverage results from the clone project's workspace are imported to the project. Results imported by the clone project's workspace (.vcw) file are automatically refreshed on Project open or they can be manually refreshed by right-clicking and choosing Refresh. To import a previously-exported, zipped file of results, 1. Right-click the Imported Results node in the "original" project, and choose Add. 2. In the dialog, navigate to the zipped file and click Open. The default alias is the name of the file. 3. Click Import. The build, execution, and coverage results from the zipped file of results are imported to the project. Results imported by a zipped file (.vcr) file cannot be refreshed. They are a snapshot of the results at the time they were exported. If the zipped file (.vcr) is overwritten with a newer file, the results are "refreshed" on Project open.

34718: VectorCAST/Manage Time Range Graph Improvements

The Manage Summary Report has improved Report Type controls for graph displays in VectorCAST version 6.3a. Previously, Status bar graphs for multiple sets of results displayed Status only as percentage. In VectorCAST version 6.3a, Status bar graphs can be based on either the total number of test cases or on percentage. An option is provided to compute percentage based on the largest value in the data set. Selecting this option will adjust the scaling of the data to the maximum value to provide a relative view of the data trends. If there are multiple data sets, Time Range is enabled by default. If there are more than 10 data sets only the last 10 sets are enabled by default. The default value of 10 sets can be modified by enabling or disabling sets.

VectorCAST/RSP:

24076: RSP Rearchitecture

VectorCAST/RSP is completely refactored to provide improved consistency and easier customization of the compiler configuration and test execution methods. The following compiler families are supported: Analog Devices, ARM, Borland, Code Composer, Cosmic, Fujitsu, GNU Native, Green Hills, IAR, Intel, Keil, Metaware, Microsoft Visual C++, Wind River. New Compiler Configuration Utility: The main toolbar now contains a button to open the Compiler Configurator, allowing the selection of the compiler family and providing the ability to modify and save associated arguments. The file is saved as CCAST_.CFG by default.

Page 21: Release Notes - VectorCAST: 6 · Release Notes - VectorCAST: 6.3e VectorCAST C, C++, Ada (Core) 41043: Ability to show/hide test execution details while executing VectorCAST version

New Jobs Monitor and Job Status Viewer: The Jobs Monitor displays the full command line for every invocation of an executable by VectorCAST's back end. The Jobs Monitor is an auto-hide window located at the bottom of the main window. For each command, the status, execution time elapsed and PID is displayed. Click the Abort button to kill the command if desired. The Job Status Viewer displays the executable called, any arguments and full stdout and stderror information for a command. Open the Job Status Viewer by double-clicking a command in the Jobs Monitor. The Execution Status Viewer is a counterpart to the Job Status Viewer and provides detailed real time test case execution information, including the name of the executing test, progress bar of remaining tests to execute, and pass/fail status of completed tests. Open the Execution Status Viewer by choosing "Execution Status" from the toolbar's Execute button menu. New RSP Installer: The main toolbar now contains a button to open the RSP Installer Utility dialog, allowing the installation of a custom RSP zip file.