vector.com|Contact
Search tips

apple banana
Find rows that contain at least one of the two words.

+apple +juice
Find rows that contain both words.

+apple macintosh
Find rows that contain the word 'apple', but rank rows higher if they also contain 'macintosh'.

+apple -macintosh
Find rows that contain the word 'apple' but not 'macintosh'.

+apple ~macintosh
Find rows that contain the word 'apple', but if the row also contains the word 'macintosh', rate it lower than if row does not. This is "softer" than a search for '+apple -macintosh', for which the presence of 'macintosh' causes the row not to be returned at all.

+apple +(>turnover >strudel)
Find rows that contain the words 'apple' and 'turnover', or 'apple' and 'strudel' (in any order), but rank 'apple turnover' higher than 'apple strudel'.

apple*
Find rows that contain words such as 'apple', 'apples', 'applesauce', or 'applet'.

"some words"
Find rows that contain the exact phrase 'some words' (for example, rows that contain 'some words of wisdom' but not "some noise words").

By continuing to use this site you agree to the use of cookies. For more information and to find out how to change this click here. Accept Cookies
Please enable cookies in your browser for this website.
Search:
Advanced search

Clicast Returns Statuses Based on Failure Conditions

Last updated: 2019-10-02

In VectorCAST version 2019 SP1, clicast will now return specific error codes based on the actual failure.

To see these values, you would run echo $? on Linux or echo %ERRORLEVEL% on Windows. This would show the numeric return code from the clicast command. To see a list of possible return codes, you can type clicast Help ERRor_codes to show the complete list of errors.

For example, typing the command clicast Help ERRor_codes 17 will show the explanation for return code 17.

$ clicast help ERRor_codes

VectorCAST   Copyright (C) 1993 - 2019

**Version 19 revision aca8c61 (05/23/19)

  0 => No error detected
  1 => Unable to convert actual values to expected values
  2 => Unable to generate baseline tests
  3 => Unable to perform automatic test generation
  4 => Unable to perform test generation
  5 => Unable to generate basis paths
  6 => Command aborted
  7 => Unable to perform command on QA environment
  8 => Illegal command
  9 => Harness compile/link failure
 10 => Coupling command failure
 11 => Unable to initialize code coverage
 12 => Unable to build environment
 13 => Unable to export code coverage
 14 => Environment does not exist / support command
 15 => Command parameter is invalid
 16 => Unable to obtain appropriate license
 17 => Unable to perform command on Lint Viewer environment
 18 => Failure loading test script
 19 => Incorrect number of parameters for command
 20 => Command failed
 21 => Unable to execute probe point command
 22 => Unable to rebuild environment
 23 => Unable to generate report
 24 => Unable to execute Requirements Gateway command
 25 => Unable to perform / report Klocwork analysis
 26 => Unable to perform / report Lint analysis
 27 => Test execution failed
 28 => Unable to analyze source code
 29 => Unable to detect licenses
 30 => Unable to implement user code command
 31 => Unknown error

$ clicast help error_code asdf

VectorCAST   Copyright (C) 1993 - 2019

**Version 19 revision aca8c61 (05/23/19)

  0 => SUCCESS
  1 => ACTUALS_TO_EXPECTED_FAILURE
  2 => AUTOMATIC_BASELINING_TEST_GENERATION_FAILURE
  3 => AUTOMATIC_TEST_ATG_FAILURE
  4 => AUTOMATIC_TEST_GENERATION_FAILURE
  5 => BASIS_PATH_GENERATION_FAILURE
  6 => CLI_ABORT
  7 => CLICOVER_FAILURE
  8 => COMMAND_NOT_ALLOWED
  9 => COMPILE_LINK_FAILURE
 10 => COUPLING_FAILURE
 11 => COVERAGE_INITIALIZATION_FAILURE
 12 => ENVIRONMENT_BUILD_FAILURE
 13 => EXPORT_COVERAGE_FAILURE
 14 => INVALID_ENVIRONMENT
 15 => INVALID_PARAMETER
 16 => LICENSE_FAILURE
 17 => LINT_FAILURE
 18 => LOAD_TEST_SCRIPT_FAILURE
 19 => MISSING_PARAMETER
 20 => PLATFORM_ABORT
 21 => PROBE_POINT_FAILURE
 22 => REBUILD_FAILURE
 23 => REPORT_GENERATION_FAILURE
 24 => RGW_FAILURE
 25 => STATIC_ANALYSIS_KLOCWORK_FAILURE
 26 => STATIC_ANALYSIS_LINT_FAILURE
 27 => TEST_EXECUTION_FAILURE
 28 => TOOLS_ANALYZE_FAILURE
 29 => TOOLS_HAS_LICENSE_FAILURE
 30 => USER_CODE_FAILURE
 31 => UNKNOWN_ERROR

 

 
Article Options
2019-10-02
Views: 46
Rate this article: