mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-18 21:36:27 +00:00
tests/gem_flink: convert to subtest infrastructure
This commit is contained in:
parent
9d65d484f6
commit
2a9e128b18
@ -17,6 +17,7 @@ TESTS_progs_M = \
|
||||
gem_cacheing \
|
||||
gem_cpu_concurrent_blit \
|
||||
gem_cs_tlb \
|
||||
gem_flink \
|
||||
flip_test \
|
||||
$(NULL)
|
||||
|
||||
@ -30,7 +31,6 @@ TESTS_progs = \
|
||||
gem_exec_blt \
|
||||
gem_exec_bad_domains \
|
||||
gem_exec_faulting_reloc \
|
||||
gem_flink \
|
||||
gem_readwrite \
|
||||
gem_ringfill \
|
||||
gem_mmap \
|
||||
|
@ -119,12 +119,18 @@ int main(int argc, char **argv)
|
||||
{
|
||||
int fd;
|
||||
|
||||
drmtest_subtest_init(argc, argv);
|
||||
|
||||
fd = drm_open_any();
|
||||
|
||||
test_flink(fd);
|
||||
test_double_flink(fd);
|
||||
test_bad_flink(fd);
|
||||
test_bad_open(fd);
|
||||
if (drmtest_run_subtest("basic"))
|
||||
test_flink(fd);
|
||||
if (drmtest_run_subtest("double-flink"))
|
||||
test_double_flink(fd);
|
||||
if (drmtest_run_subtest("bad-flink"))
|
||||
test_bad_flink(fd);
|
||||
if (drmtest_run_subtest("bad-open"))
|
||||
test_bad_open(fd);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user