Skip to content

Commit

Permalink
test: limit the number of events for example tests
Browse files Browse the repository at this point in the history
If we process too many events in the example tests, the test log output
file will be huge, since the examples are quite verbose by design. Users
who want to run examples with more events may simply run the example
executables (rather than `meson test`).
  • Loading branch information
c-dilks committed Apr 9, 2024
1 parent 77d233c commit d02554c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ foreach example, info : example_sources
example_exe,
args: info.get(
'test_args',
[ get_option('test_data_file'), get_option('test_num_events') ]
[ get_option('test_data_file'), '100' ] # don't run too many events, or meson test log will be huge
),
env: project_test_env,
)
Expand Down

0 comments on commit d02554c

Please sign in to comment.