diff options
author | Thierry Reding <treding@nvidia.com> | 2018-03-20 13:34:48 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2022-02-23 15:39:55 +0100 |
commit | 37e9695d51dafddb5535b79576d40cacd0c61de2 (patch) | |
tree | e0893612ad954576090226ce4c1be17e6c81b010 /tests | |
parent | 69fa0dd9400f22b285a13bd4e099936ed9dfe4b3 (diff) | |
download | drm-37e9695d51dafddb5535b79576d40cacd0c61de2.tar.gz |
tegra: Install tegra-openclose test
Allow this simple test to be installed so that it can easily be run on a
target device.
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tegra/.gitignore | 2 | ||||
-rw-r--r-- | tests/tegra/meson.build | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/tests/tegra/.gitignore b/tests/tegra/.gitignore index 5c5216c5..56cfb62b 100644 --- a/tests/tegra/.gitignore +++ b/tests/tegra/.gitignore @@ -1 +1 @@ -openclose +tegra-openclose diff --git a/tests/tegra/meson.build b/tests/tegra/meson.build index 4f8c54f4..fbf4e6d8 100644 --- a/tests/tegra/meson.build +++ b/tests/tegra/meson.build @@ -18,10 +18,13 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +inc_tegra = include_directories('../../tegra') + openclose = executable( - 'openclose', + 'tegra-openclose', files('openclose.c'), - include_directories : [inc_root, inc_drm, include_directories('../../tegra')], + include_directories : [inc_root, inc_drm, inc_tegra], c_args : libdrm_c_args, link_with : [libdrm, libdrm_tegra], + install : with_install_tests, ) |