27 lines
498 B
Meson
27 lines
498 B
Meson
project(
|
|
'sedpp',
|
|
'cpp',
|
|
version: '1.0.0',
|
|
default_options: [
|
|
'cpp_std=c++20',
|
|
'warning_level=3',
|
|
'werror=false',
|
|
],
|
|
)
|
|
|
|
subdir('sed')
|
|
|
|
install_man('man/sed.1')
|
|
|
|
# Run the upstream GNU sed 4.10 behavioral suite against the local executable.
|
|
# The wrapper downloads/builds GNU sed only to reuse its tests.
|
|
gnu_sed_tests = find_program('scripts/run-gnu-sed-tests.sh')
|
|
|
|
test(
|
|
'gnu-sed-4.10',
|
|
gnu_sed_tests,
|
|
args: [sed_exe.full_path()],
|
|
depends: sed_exe,
|
|
timeout: 240,
|
|
)
|