| 1 |
# Copyright © 2025 Collabora |
| 2 |
# SPDX-License-Identifier: MIT |
| 3 |
|
| 4 |
test( |
| 5 |
'valhall_tests', |
| 6 |
executable( |
| 7 |
'valhall_tests', |
| 8 |
files( |
| 9 |
'test-add-imm.cpp', |
| 10 |
'test-validate-fau.cpp', |
| 11 |
'test-insert-flow.cpp', |
| 12 |
'test-lower-isel.cpp', |
| 13 |
'test-lower-constants.cpp', |
| 14 |
'test-mark-last.cpp', |
| 15 |
'test-merge-flow.cpp', |
| 16 |
'test-packing.cpp', |
| 17 |
), |
| 18 |
cpp_args : [cpp_msvc_compat_args], |
| 19 |
gnu_symbol_visibility : 'hidden', |
| 20 |
include_directories : [inc_include, inc_src, inc_valhall], |
| 21 |
dependencies: [idep_gtest, idep_nir, idep_bi_opcodes_h, idep_bi_builder_h, idep_valhall_enums_h], |
| 22 |
link_with : [libpanfrost_compiler], |
| 23 |
), |
| 24 |
suite : ['panfrost'], |
| 25 |
protocol : 'gtest', |
| 26 |
) |