KWsys

kwsys.testCommandLineArguments

command_line: /__w/nightly-builds/nightly-builds/build/kwsysTestsCxx "testCommandLineArguments" "--another-bool-variable" "--long3=opt" "--set-bool-arg1" "-SSS" "ken" "brad" "bill" "andy" "--some-bool-variable=true" "--some-double-variable12.5" "--some-int-variable" "14" "--some-string-variable=test string with space" "--some-multi-argument" "5" "1" "8" "3" "7" "1" "3" "9" "7" "1" "-N" "12.5" "-SS=andy" "-N" "1.31" "-N" "22" "-SS=bill" "-BBtrue" "-SS=brad" "-BBtrue" "-BBfalse" "-SS=ken" "-A" "-C=test" "--long2" "hello"

working_directory: "."

Processors: 1

Execution Time: 0.004

BeforeCPULoadAverage: 1.32568359375

AfterCPULoadAverage: 1.32568359375

BeforeHostMemoryUsed: 987988

AfterHostMemoryUsed: 987988

Completion Status: Completed

Environment: #CTEST_RESOURCE_GROUP_COUNT=

stdout:

Got argument: "--long3" value: "opt"
Got argument: "-A" value: "(null)"
Got argument: "-C" value: "test"
Got argument: "--long2" value: "hello"
Help: 
  --another-bool-variable  Set some random bool variable 1

  --long3=opt  Same as -C but a bit different

  --set-bool-arg1  Test AddBooleanArgument 1

  --set-bool-arg2  Test AddBooleanArgument 2

  --some-bool-variable=opt  Set some random bool variable

  --some-double-variableopt  Set some random double variable

  --some-int-variable opt  Set some random int variable

  --some-multi-argument opt opt   Some multiple values variable

  --some-stl-string-variable=opt  Set some random stl string variable

  --some-string-variable=opt  Set some random string variable

  --long1  
  -A  Some option -A. This option has a multiline
                                  comment. It should demonstrate how the code
                                  splits lines.

  --long2 opt  
  -B opt  Option -B takes argument with space

  -BBopt  Some explicit multiple values varia...
[This part of the test output was removed since it exceeds the threshold of 1024 bytes.]
Status: passed
Loading...