Skip to content

"Environment checker" #7

@aytey

Description

@aytey

We need to write a utility that verifies that a given VectorCAST/C++ environment is "configured" in a way that "make sense".

Only support GCC for now -- the purpose of this script is provide advice, but the user is welcome to ignore this (e.g., ARM needs --64_bit_target but not --x86_64)

Important things:

  • Library stubs

  • -m32/-m64 vs. (no args)/--64_bit_target/--x86_64

  • Check GCC version against what's being passed to EDG

  • Check that we have VCAST_USE_SETLINEBUF

  • Check that we have TEST_CASE_TIMEOUT

  • Any required CCAST_.CFG options (VCAST_DISPLAY_EMPTY_COVERAGE, VCAST_EMPTY_TESTCASE_FAIL, VCAST_SBF_LIBRARY_STUBS, VCAST_SCRIPT_EXPAND_ARRAYS, VCAST_STRICT_TEST_CASE_IMPORT)

  • Bonus points for checking for -ftrack-macro-expansion=0 if you're on a GCC that supports

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions