Lines Matching refs:runner

306   PerfProfdRunner runner;  in TEST_F()  local
307 runner.addToConfig("only_debug_build=0"); in TEST_F()
308 runner.addToConfig("trace_config_read=0"); in TEST_F()
309 runner.addToConfig("config_directory=/does/not/exist"); in TEST_F()
310 runner.addToConfig("main_loop_iterations=1"); in TEST_F()
311 runner.addToConfig("use_fixed_seed=1"); in TEST_F()
312 runner.addToConfig("collection_interval=100"); in TEST_F()
315 int daemon_main_return_code = runner.invoke(); in TEST_F()
342 PerfProfdRunner runner; in TEST_F() local
343 runner.addToConfig("only_debug_build=0"); in TEST_F()
345 runner.addToConfig(cfparam); in TEST_F()
347 runner.addToConfig(ddparam); in TEST_F()
348 runner.addToConfig("main_loop_iterations=1"); in TEST_F()
349 runner.addToConfig("use_fixed_seed=1"); in TEST_F()
350 runner.addToConfig("collection_interval=100"); in TEST_F()
352 runner.remove_semaphore_file(); in TEST_F()
355 int daemon_main_return_code = runner.invoke(); in TEST_F()
377 PerfProfdRunner runner; in TEST_F() local
378 runner.addToConfig("only_debug_build=0"); in TEST_F()
379 runner.addToConfig("trace_config_read=1"); in TEST_F()
381 runner.addToConfig(cfparam); in TEST_F()
383 runner.addToConfig(ddparam); in TEST_F()
384 runner.addToConfig("main_loop_iterations=1"); in TEST_F()
385 runner.addToConfig("use_fixed_seed=1"); in TEST_F()
386 runner.addToConfig("collection_interval=100"); in TEST_F()
387 runner.addToConfig("perf_path=/does/not/exist"); in TEST_F()
390 runner.create_semaphore_file(); in TEST_F()
393 int daemon_main_return_code = runner.invoke(); in TEST_F()
415 PerfProfdRunner runner; in TEST_F() local
416 runner.addToConfig("only_debug_build=0"); in TEST_F()
418 runner.addToConfig(cfparam); in TEST_F()
420 runner.addToConfig(ddparam); in TEST_F()
421 runner.addToConfig("main_loop_iterations=1"); in TEST_F()
422 runner.addToConfig("use_fixed_seed=1"); in TEST_F()
423 runner.addToConfig("collection_interval=100"); in TEST_F()
424 runner.addToConfig("perf_path=/system/bin/false"); in TEST_F()
427 runner.create_semaphore_file(); in TEST_F()
430 int daemon_main_return_code = runner.invoke(); in TEST_F()
450 PerfProfdRunner runner; in TEST_F() local
451 runner.addToConfig("only_debug_build=0"); in TEST_F()
452 runner.addToConfig("main_loop_iterations=1"); in TEST_F()
453 runner.addToConfig("collection_interval=100"); in TEST_F()
454 runner.addToConfig("use_fixed_seed=1"); in TEST_F()
455 runner.addToConfig("destination_directory=/does/not/exist"); in TEST_F()
458 runner.addToConfig("collection_interval=0"); in TEST_F()
459 runner.addToConfig("collection_interval=-1"); in TEST_F()
460 runner.addToConfig("collection_interval=2"); in TEST_F()
461 runner.addToConfig("nonexistent_key=something"); in TEST_F()
462 runner.addToConfig("no_equals_stmt"); in TEST_F()
465 int daemon_main_return_code = runner.invoke(); in TEST_F()
579 PerfProfdRunner runner; in TEST_F() local
580 runner.addToConfig("only_debug_build=0"); in TEST_F()
582 runner.addToConfig(ddparam); in TEST_F()
584 runner.addToConfig(cfparam); in TEST_F()
585 runner.addToConfig("main_loop_iterations=1"); in TEST_F()
586 runner.addToConfig("use_fixed_seed=12345678"); in TEST_F()
587 runner.addToConfig("max_unprocessed_profiles=100"); in TEST_F()
588 runner.addToConfig("collection_interval=9999"); in TEST_F()
589 runner.addToConfig("sample_duration=2"); in TEST_F()
592 runner.create_semaphore_file(); in TEST_F()
595 int daemon_main_return_code = runner.invoke(); in TEST_F()
630 PerfProfdRunner runner; in TEST_F() local
631 runner.addToConfig("only_debug_build=0"); in TEST_F()
633 runner.addToConfig(ddparam); in TEST_F()
635 runner.addToConfig(cfparam); in TEST_F()
636 runner.addToConfig("main_loop_iterations=3"); in TEST_F()
637 runner.addToConfig("use_fixed_seed=12345678"); in TEST_F()
638 runner.addToConfig("collection_interval=9999"); in TEST_F()
639 runner.addToConfig("sample_duration=2"); in TEST_F()
640 runner.write_processed_file(1, 2); in TEST_F()
643 runner.create_semaphore_file(); in TEST_F()
646 int daemon_main_return_code = runner.invoke(); in TEST_F()