~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/compiler/glsl/tests/meson.build

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
19
# SOFTWARE.
20
20
 
 
21
general_ir_test_files = files(
 
22
  'array_refcount_test.cpp',
 
23
  'builtin_variable_test.cpp',
 
24
  'general_ir_test.cpp',
 
25
  'lower_int64_test.cpp',
 
26
  'opt_add_neg_to_sub_test.cpp',
 
27
)
 
28
general_ir_test_files += ir_expression_operation_h
 
29
 
 
30
if with_gles2
 
31
  general_ir_test_files += files('test_gl_lower_mediump.cpp')
 
32
endif
 
33
 
21
34
test(
22
35
  'general_ir_test',
23
36
  executable(
24
37
    'general_ir_test',
25
 
    ['array_refcount_test.cpp', 'builtin_variable_test.cpp',
26
 
     'general_ir_test.cpp', 'lower_int64_test.cpp',
27
 
     'opt_add_neg_to_sub_test.cpp', 'test_gl_lower_mediump.cpp', ir_expression_operation_h],
 
38
    general_ir_test_files,
28
39
    cpp_args : [cpp_msvc_compat_args],
29
40
    gnu_symbol_visibility : 'hidden',
30
41
    include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_glsl],
101
112
           ],
102
113
    suite : ['compiler', 'glsl'],
103
114
  )
104
 
  test(
105
 
    'glsl lower-precision test',
106
 
    prog_python,
107
 
    args : [files('lower_precision_test.py'),
108
 
            glsl_compiler
109
 
           ],
110
 
    suite : ['compiler', 'glsl'],
111
 
  )
 
115
  if with_gles2
 
116
    test(
 
117
      'glsl lower-precision test',
 
118
      prog_python,
 
119
      args : [files('lower_precision_test.py'),
 
120
              glsl_compiler
 
121
            ],
 
122
      suite : ['compiler', 'glsl'],
 
123
    )
 
124
  endif
112
125
endif