-
Notifications
You must be signed in to change notification settings - Fork 624
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4101 from masatake/meson--benchmark
Meson: extract benchmark langage objects correctly
- Loading branch information
Showing
6 changed files
with
49 additions
and
7 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# -*- Meson -*- | ||
# Derrived from test/dbus/meson.build of dbus-broker | ||
test_kwargs = { | ||
'dependencies': [dep_test], | ||
'install': use_tests, | ||
'install_dir': conf.get('testdir') / 'dbus', | ||
} | ||
|
||
bench_connect = executable('bench-connect', sources: ['bench-connect.c'], kwargs: test_kwargs) | ||
bench_message = executable('bench-message', sources: ['bench-message.c'], kwargs: test_kwargs) | ||
|
||
suites = [ | ||
{ 'suite': 'dbus-broker', 'env': ['DBUS_BROKER_TEST_BROKER=' + exe_dbus_broker.full_path()]}, | ||
] | ||
|
||
foreach suite : suites | ||
benchmark('Connection', bench_connect, timeout: 60, kwargs: suite) | ||
benchmark('Message passing', bench_message, timeout: 120, kwargs: suite) | ||
endforeach |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# -*- Meson -*- | ||
# Taken from docs/meson.build of gcr | ||
# | ||
gi_docgen = find_program('gi-docgen') | ||
|
||
subdir('gck') | ||
subdir('gcr') | ||
|
||
# Create a pseudo target that build all docs at once | ||
alias_target('docs', | ||
gck_docs, | ||
gcr_docs, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters