Skip to content

Commit

Permalink
test: fuse driver perfmon option
Browse files Browse the repository at this point in the history
  • Loading branch information
mhx committed Apr 29, 2024
1 parent c14e884 commit 29a126b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/tools_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -945,9 +945,16 @@ TEST_P(tools_test, end_to_end) {
}

{
scoped_no_leak_check no_leak_check;
std::vector<std::string> args;

#if DWARFS_PERFMON_ENABLED
args.push_back("-operfmon=fuse+inode_reader_v2+block_cache");
#endif

driver_runner runner(driver_runner::foreground, driver,
mode == binary_mode::universal_tool, image,
mountpoint);
mountpoint, args);

ASSERT_TRUE(wait_until_file_ready(mountpoint / "format.sh", timeout))
<< runner.cmdline();
Expand Down

0 comments on commit 29a126b

Please sign in to comment.