Skip to content

Environment Rebuild Logged Twice When Only One Rebuild Occurs #336

Description

@Chanakyaraj2263

Steps to Reproduce

  1. Create a VectorCAST environment (e.g., for source.c) outside of the VS Code extension using the standard workflow.

  2. Launch VS Code from a batch file that sets the required environment variables and compiler path.

    Example:

    call setenv.bat
    
    start D:\Users\vulwns\AppData\Local\Programs\Microsoft_VS_Code\Code.exe

    The batch file should:

    • Set VECTORCAST_DIR
    • Set VECTOR_LICENSE_FILE
    • Add the compiler location to PATH
  3. In VS Code, open the working directory as a workspace.

    This allows the VectorCAST Test Explorer extension to recognize the environment and enables the VectorCAST context menu options within the Testing view.

  4. Open the Testing view (flask icon) and locate the environment.

  5. Right-click the environment and select Environment Rebuild.

  6. Open the Output panel:

    • Navigate to View → Output
    • In the Output panel, use the dropdown on the right and select VectorCAST Test Explorer as the output source.

Please look at the attached output_log.txt

output_log.txt

Observed Behavior

The VectorCAST Test Explorer output log displays environment rebuild messages twice, even though only a single environment rebuild operation was performed.

Expected Behavior

Only one set of rebuild messages should be displayed in the output log for a single environment rebuild operation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions