runtime-configuration_2.output 1.5 KB

12345678910111213141516171819202122232425262728
  1. //[example_output
  2. # Example run 1
  3. > runtime_configuration2 --log_level=all -- --some-wrong-random-string mock_device
  4. Running 1 test case...
  5. Entering test module "runtime_configuration2"
  6. test.cpp:46: info: check framework::master_test_suite().argc == 3 has passed
  7. test.cpp:47: fatal error: in "runtime_configuration2": critical check framework::master_test_suite().argv[1] == "--device-name" has failed [--some-wrong-random-string != --device-name]
  8. Leaving test module "runtime_configuration2"
  9. *** The test module "runtime_configuration2" was aborted; see standard output for details
  10. *** 1 failure is detected in the test module "runtime_configuration2"
  11. # Example run 2
  12. > runtime_configuration2 --log_level=all -- --device-name mock_device
  13. Running 1 test case...
  14. Entering test module "runtime_configuration2"
  15. test.cpp:46: info: check framework::master_test_suite().argc == 3 has passed
  16. test.cpp:47: info: check framework::master_test_suite().argv[1] == "--device-name" has passed
  17. test.cpp:53: info: check 'Cannot create the device mock_device' has passed
  18. test.cpp:56: info: check 'Cannot initialize the device mock_device' has passed
  19. test.cpp:72: Entering test case "check_device_has_meaningful_name"
  20. test.cpp:74: info: check CommandLineDeviceInit::device->get_device_name() != "" has passed
  21. test.cpp:72: Leaving test case "check_device_has_meaningful_name"; testing time: 127us
  22. test.cpp:62: info: check 'Cannot tear-down the device mock_device' has passed
  23. Leaving test module "runtime_configuration2"; testing time: 177us
  24. *** No errors detected
  25. //]