Skip to content

Commit

Permalink
tests: silence the tests disabled notification
Browse files Browse the repository at this point in the history
  • Loading branch information
mochaaP committed Apr 21, 2024
1 parent a92080b commit 008923b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,4 @@ subdir('examples')

if get_option('tests')
subdir('test')
else
# Add a single always-failing test to tell the user to reconfigure with tests enabled
py = find_program('python3')
tests_not_enabled_script = files(meson.current_source_dir() + '/test/tests-not-enabled.py')
test('Tests not enabled', py, args: [tests_not_enabled_script])
endif

0 comments on commit 008923b

Please sign in to comment.