Commit be29b2eb authored by Arkadiusz Hiler's avatar Arkadiusz Hiler

tests/i915: Rename files so they correspond to binary names

So we do not have to do any rename shenanigans in the build system and
the .c files are easier to find.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Petri Latvala <petri.latvala@intel.com>
Signed-off-by: Arkadiusz Hiler's avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Petri Latvala's avatarPetri Latvala <petri.latvala@intel.com>
parent 3a184241
......@@ -472,28 +472,28 @@ TESTS_progs += gen3_render_tiledy_blits
gen3_render_tiledy_blits_SOURCES = i915/gen3_render_tiledy_blits.c
TESTS_progs += i915_fb_tiling
i915_fb_tiling_SOURCES = i915/fb_tiling.c
i915_fb_tiling_SOURCES = i915/i915_fb_tiling.c
TESTS_progs += i915_getparams_basic
i915_getparams_basic_SOURCES = i915/getparams_basic.c
i915_getparams_basic_SOURCES = i915/i915_getparams_basic.c
TESTS_progs += i915_hangman
i915_hangman_SOURCES = i915/hangman.c
i915_hangman_SOURCES = i915/i915_hangman.c
TESTS_progs += i915_missed_irq
i915_missed_irq_SOURCES = i915/missed_irq.c
i915_missed_irq_SOURCES = i915/i915_missed_irq.c
TESTS_progs += i915_module_load
i915_module_load_SOURCES = i915/module_load.c
i915_module_load_SOURCES = i915/i915_module_load.c
TESTS_progs += i915_query
i915_query_SOURCES = i915/query.c
i915_query_SOURCES = i915/i915_query.c
TESTS_progs += i915_selftest
i915_selftest_SOURCES = i915/selftest.c
i915_selftest_SOURCES = i915/i915_selftest.c
TESTS_progs += i915_suspend
i915_suspend_SOURCES = i915/suspend.c
i915_suspend_SOURCES = i915/i915_suspend.c
TESTS_progs_X = gem_concurrent_all
gem_concurrent_all_SOURCES = i915/gem_concurrent_all.c
......
......@@ -97,17 +97,11 @@ test_progs = [
]
i915_progs = [
'fb_tiling',
'getparams_basic',
'hangman',
'missed_irq',
'module_load',
'query',
'selftest',
'suspend',
]
gem_progs = [
'gen3_mixed_blits',
'gen3_render_linear_blits',
'gen3_render_mixed_blits',
'gen3_render_tiledx_blits',
'gen3_render_tiledy_blits',
'gem_bad_reloc',
'gem_basic',
'gem_busy',
......@@ -224,14 +218,14 @@ gem_progs = [
'gem_wait',
'gem_workarounds',
'gem_write_read_ring_switch',
]
gen3_progs = [
'gen3_mixed_blits',
'gen3_render_linear_blits',
'gen3_render_mixed_blits',
'gen3_render_tiledx_blits',
'gen3_render_tiledy_blits',
'i915_fb_tiling',
'i915_getparams_basic',
'i915_hangman',
'i915_missed_irq',
'i915_module_load',
'i915_query',
'i915_selftest',
'i915_suspend',
]
test_deps = [ igt_deps ]
......@@ -272,17 +266,6 @@ foreach prog : test_progs
endforeach
foreach prog : i915_progs
prog_name = 'i915_' + prog
test_executables += executable(prog_name,
join_paths('i915', prog + '.c'),
dependencies : test_deps,
install_dir : libexecdir,
install_rpath : libexecdir_rpathdir,
install : true)
test_list += prog_name
endforeach
foreach prog : gem_progs + gen3_progs
test_executables += executable(prog,
join_paths('i915', prog + '.c'),
dependencies : test_deps,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment