Original patch from Antonio Argenziano, split into separate commits for its separate steps. New directory created, tests/hw-tests, meant for tests that target the hardware's behaviour more than the driver's (or the combination thereof). Currently just gem_bad_address moved, with Antonio's changes to the test. The tests in hw-tests will install into $libexec/intel-gpu-tools/hw-tests. Running hw-tests is done by setting IGT_TEST_ROOT appropriately to the hw-tests directory. scripts/run-tests.sh is amended to support it instead of hardcoding to $srcdir/tests. Antonio Argenziano (1): hw-tests: Fix and update gem_bad_address Petri Latvala (3): tests: Add a hw-tests subdirectory tests: Move gem_bad_address to hw-tests run-tests.sh: Allow users to override IGT_TEST_ROOT configure.ac | 12 ++++++ scripts/run-tests.sh | 2 +- tests/Makefile.am | 2 +- tests/Makefile.sources | 1 - tests/hw-tests/Makefile.am | 41 ++++++++++++++++++++ tests/hw-tests/Makefile.sources | 3 ++ tests/{ => hw-tests}/gem_bad_address.c | 69 +++++++++++++++++++--------------- tests/hw-tests/meson.build | 25 ++++++++++++ tests/meson.build | 3 +- 9 files changed, 124 insertions(+), 34 deletions(-) create mode 100644 tests/hw-tests/Makefile.am create mode 100644 tests/hw-tests/Makefile.sources rename tests/{ => hw-tests}/gem_bad_address.c (52%) create mode 100644 tests/hw-tests/meson.build -- 2.14.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx