freedreno: rename .gitlab-ci folder to tests

These are normal tests, that are part of anyone's `meson test`, not
related to the GitLab CI except that it also runs the tests.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35914>
This commit is contained in:
Eric Engestrom 2025-07-03 14:57:09 +02:00 committed by Marge Bot
parent eb3e0b7164
commit 2a269b2b5b
28 changed files with 12 additions and 12 deletions

View file

@ -55,21 +55,21 @@ asm = executable(
if with_tests
asm_fw = custom_target('afuc_test.fw',
output: 'afuc_test.fw',
command: [asm, files('../.gitlab-ci/traces/afuc_test.asm'), '@OUTPUT@'],
command: [asm, files('../tests/traces/afuc_test.asm'), '@OUTPUT@'],
)
asm_fw_a7xx = custom_target('afuc_test_a7xx.fw',
output: 'afuc_test_a7xx.fw',
command: [asm, files('../.gitlab-ci/traces/afuc_test_a7xx.asm'), '@OUTPUT@'],
command: [asm, files('../tests/traces/afuc_test_a7xx.asm'), '@OUTPUT@'],
)
test('afuc-asm',
diff,
args: ['-u', files('../.gitlab-ci/reference/afuc_test.fw'), asm_fw],
args: ['-u', files('../tests/reference/afuc_test.fw'), asm_fw],
suite: 'freedreno',
workdir: dir_source_root
)
test('afuc-asm-a7xx',
diff,
args: ['-u', files('../.gitlab-ci/reference/afuc_test_a7xx.fw'), asm_fw_a7xx],
args: ['-u', files('../tests/reference/afuc_test_a7xx.fw'), asm_fw_a7xx],
suite: 'freedreno',
workdir: dir_source_root
)
@ -119,23 +119,23 @@ if cc.sizeof('size_t') > 4
if with_tests
disasm_fw = custom_target('afuc_test.asm',
output: 'afuc_test.asm',
command: [disasm, '-u', files('../.gitlab-ci/reference/afuc_test.fw')],
command: [disasm, '-u', files('../tests/reference/afuc_test.fw')],
capture: true
)
disasm_fw_a7xx = custom_target('afuc_test_a7xx.asm',
output: 'afuc_test_a7xx.asm',
command: [disasm, '-u', files('../.gitlab-ci/reference/afuc_test_a7xx.fw')],
command: [disasm, '-u', files('../tests/reference/afuc_test_a7xx.fw')],
capture: true
)
test('afuc-disasm',
diff,
args: ['-u', files('../.gitlab-ci/reference/afuc_test.asm'), disasm_fw],
args: ['-u', files('../tests/reference/afuc_test.asm'), disasm_fw],
suite: 'freedreno',
workdir: dir_source_root
)
test('afuc-disasm-a7xx',
diff,
args: ['-u', files('../.gitlab-ci/reference/afuc_test_a7xx.asm'), disasm_fw_a7xx],
args: ['-u', files('../tests/reference/afuc_test_a7xx.asm'), disasm_fw_a7xx],
suite: 'freedreno',
workdir: dir_source_root
)

View file

@ -193,12 +193,12 @@ if dep_lua.found() and dep_libarchive.found()
log = custom_target(name + '.log',
output: name + '.log',
command: [cffdump, '--unit-test', args, files('../.gitlab-ci/traces/' + name + '.rd.gz')],
command: [cffdump, '--unit-test', args, files('../tests/traces/' + name + '.rd.gz')],
capture: true,
)
test('cffdump-' + name,
diff,
args: ['-u', files('../.gitlab-ci/reference/' + name + '.log'), log],
args: ['-u', files('../tests/reference/' + name + '.log'), log],
suite: 'freedreno',
workdir: dir_source_root
)
@ -263,14 +263,14 @@ if with_tests
log = custom_target(name + '.log',
output: name + '.log',
command: [crashdec, args, files('../.gitlab-ci/traces/' + name + '.devcore')],
command: [crashdec, args, files('../tests/traces/' + name + '.devcore')],
capture: true,
env: {'GALLIUM_DUMP_CPU': 'false'},
)
test('crashdec-' + name,
diff,
args: ['-u', files('../.gitlab-ci/reference/' + name + '.log'), log],
args: ['-u', files('../tests/reference/' + name + '.log'), log],
suite: 'freedreno',
workdir: dir_source_root
)