Run testdmabuf only on Linux

This test includes a Linux-specific header and therefore breaks on
non-Linux OS.

This change fixes building the tests on macOS and therefore enables
that in CI by not disabling them anymore.
This commit is contained in:
René de Hesselle 2024-02-01 23:31:21 +01:00
parent 5483821ea0
commit ed38d9b662
2 changed files with 5 additions and 1 deletions

View File

@ -251,7 +251,6 @@ macos-x86_64:
-Dpixman:tests=disabled
-Dlibjpeg-turbo:simd=disabled
-Dbuild-demos=false
-Dbuild-tests=false
-Dbuild-examples=false
-Dbuild-testsuite=false
_build

View File

@ -127,6 +127,11 @@ gtk_tests = [
if os_unix
gtk_tests += [
['testfontchooserdialog'],
]
endif
if os_linux
gtk_tests += [
['testdmabuf'],
]
endif