-
Notifications
You must be signed in to change notification settings - Fork 0
Description
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/-m64vs. (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=0if you're on a GCC that supports