OS Manuals

/usr/bin/ceph_test_cls_cas

Ceph test binaries and microbenchmarks

From ceph-20-test 20.2.5-r0 (os), captured 2026-11-05 by running ceph_test_cls_cas --help (exit 0). permalink

Running main() from gmock_main.cc
This program contains tests written using Google Test. You can use the
following command line flags to control its behavior:

Test Selection:
  --gtest_list_tests
      List the names of all tests instead of running them. The name of
      TEST(Foo, Bar) is "Foo.Bar".
  --gtest_filter=POSITIVE_PATTERNS[-NEGATIVE_PATTERNS]
      Run only the tests whose name matches one of the positive patterns but
      none of the negative patterns. '?' matches any single character; '*'
      matches any substring; ':' separates two patterns.
  --gtest_also_run_disabled_tests
      Run all disabled tests too.

Test Execution:
  --gtest_repeat=[COUNT]
      Run the tests repeatedly; use a negative count to repeat forever.
  --gtest_shuffle
      Randomize tests' orders on every iteration.
  --gtest_random_seed=[NUMBER]
      Random number seed to use for shuffling test orders (between 1 and
      99999, or 0 to use a seed based on the current time).
  --gtest_recreate_environments_when_repeating
      Sets up and tears down the global test environment on each repeat
      of the test.

Test Output:
  --gtest_color=(yes|no|auto)
      Enable/disable colored output. The default is auto.
  --gtest_brief=1
      Only print test failures.
  --gtest_print_time=0
      Don't print the elapsed time of each test.
  --gtest_output=(json|xml)[:DIRECTORY_PATH/|:FILE_PATH]
      Generate a JSON or XML report in the given directory or with the given
      file name. FILE_PATH defaults to test_detail.xml.
  --gtest_stream_result_to=HOST:PORT
      Stream test results to the given server.

Assertion Behavior:
  --gtest_death_test_style=(fast|threadsafe)
      Set the default death test style.
  --gtest_break_on_failure
      Turn assertion failures into debugger break-points.
  --gtest_throw_on_failure
      Turn assertion failures into C++ exceptions for use by an external
      test framework.
  --gtest_catch_exceptions=0
      Do not report exceptions as test failures. Instead, allow them
      to crash the program or throw a pop-up (on Windows).

Except for --gtest_list_tests, you can alternatively set the corresponding
environment variable of a flag (all letters in upper-case). For example, to
disable colored text output, you can either specify --gtest_color=no or set
the GTEST_COLOR environment variable to no.

For more information, please read the Google Test documentation at
https://github.com/google/googletest/. If you find a bug in Google Test
(not one in your own code or tests), please report it to
<googletestframework@googlegroups.com>.
Options (16)
OptionDescriptionSource
--gtest_list_testsList the names of all tests instead of running them.help
--gtest_filter POSITIVE_PATTERNS[-NEGATIVE_PATTERNSRun only the tests whose name matches one of the positive patterns but none of the negative patterns.help
--gtest_also_run_disabled_testsRun all disabled tests too.help
--gtest_repeat COUNTRun the tests repeatedly;help
--gtest_shuffleRandomize tests' orders on every iteration.help
--gtest_random_seed NUMBERRandom number seed to use for shuffling test orders (between 1 and 99999, or 0 to use a seed based on the current time).help
--gtest_recreate_environments_when_repeatingSets up and tears down the global test environment on each repeat of the test.help
--gtest_color (yes|no|auto)Enable/disable colored output.help
--gtest_brief 1Only print test failures.help
--gtest_print_time 0Don't print the elapsed time of each test.help
--gtest_output (json|xml)[:DIRECTORY_PATH/|:FILE_PATHGenerate a JSON or XML report in the given directory or with the given file name.help
--gtest_stream_result_to HOST:PORTStream test results to the given server.help
--gtest_death_test_style (fast|threadsafe)Set the default death test style.help
--gtest_break_on_failureTurn assertion failures into debugger break-points.help
--gtest_throw_on_failureTurn assertion failures into C++ exceptions for use by an external test framework.help
--gtest_catch_exceptions 0Do not report exceptions as test failures.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.