"Fossies" - the Fresh Open Source Software Archive

Member "fuse-3.2.1/test/meson.build" (14 Nov 2017, 1000 Bytes) of package /linux/misc/fuse-3.2.1.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "meson.build": 3.1.1_vs_3.2.0.

    1 # Compile helper programs
    2 td = []
    3 foreach prog: [ 'test_write_cache', 'test_setattr' ]
    4     td += executable(prog, prog + '.c',
    5                      include_directories: include_dirs,
    6                      link_with: [ libfuse ],
    7                      dependencies: thread_dep,
    8                      install: false)
    9 endforeach
   10 td += executable('test_syscalls', 'test_syscalls.c',
   11                  include_directories: include_dirs,
   12                  install: false)
   13 
   14 test_scripts = [ 'conftest.py', 'pytest.ini', 'test_examples.py',
   15                  'util.py', 'test_ctests.py' ]
   16 td += custom_target('test_scripts', input: test_scripts,
   17                       output: test_scripts, build_by_default: true,
   18                       command: ['cp', '-fPp',
   19                                 '@INPUT@', meson.current_build_dir() ])
   20 
   21 # Provide something helpful when running 'ninja test'
   22 wrong_cmd = executable('wrong_command', 'wrong_command.c',
   23                        install: false)
   24 test('wrong_cmd', wrong_cmd)