Blame tests/amdgpu/meson.build

Packit Service 103f6b
# Copyright © 2017-2018 Intel Corporation
Packit Service 103f6b
Packit Service 103f6b
# Permission is hereby granted, free of charge, to any person obtaining a copy
Packit Service 103f6b
# of this software and associated documentation files (the "Software"), to deal
Packit Service 103f6b
# in the Software without restriction, including without limitation the rights
Packit Service 103f6b
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Packit Service 103f6b
# copies of the Software, and to permit persons to whom the Software is
Packit Service 103f6b
# furnished to do so, subject to the following conditions:
Packit Service 103f6b
Packit Service 103f6b
# The above copyright notice and this permission notice shall be included in
Packit Service 103f6b
# all copies or substantial portions of the Software.
Packit Service 103f6b
Packit Service 103f6b
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
Packit Service 103f6b
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
Packit Service 103f6b
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
Packit Service 103f6b
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
Packit Service 103f6b
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
Packit Service 103f6b
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
Packit Service 103f6b
# SOFTWARE.
Packit Service 103f6b
Packit Service 103f6b
if dep_cunit.found()
Packit Service 103f6b
  amdgpu_test = executable(
Packit Service 103f6b
    'amdgpu_test',
Packit Service 103f6b
    files(
Packit Service 103f6b
      'amdgpu_test.c', 'basic_tests.c', 'bo_tests.c', 'cs_tests.c',
Packit Service 103f6b
      'vce_tests.c', 'uvd_enc_tests.c', 'vcn_tests.c', 'deadlock_tests.c',
Packit Service 103f6b
      'vm_tests.c', 'ras_tests.c', 'syncobj_tests.c', 'security_tests.c',
Packit Service 103f6b
    ),
Packit Service 103f6b
    dependencies : [dep_cunit, dep_threads, dep_atomic_ops],
Packit Service 103f6b
    include_directories : [inc_root, inc_drm, include_directories('../../amdgpu')],
Packit Service 103f6b
    link_with : [libdrm, libdrm_amdgpu],
Packit Service 103f6b
    install : with_install_tests,
Packit Service 103f6b
  )
Packit Service 103f6b
endif