package/gli: disable tests
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 31 Jul 2021 21:39:54 +0000 (23:39 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 31 Jul 2021 22:02:51 +0000 (00:02 +0200)
commit2f57920841f6e9dc74416c2cc77e01e41265fc40
tree2a32f84ffd310b918faed46ca84a65bd833c7491
parentf0baab0d51661038ffd102d933bee392fad9c55e
package/gli: disable tests

Disable tests to avoid the following build failure with gcc 11:

/srv/storage/autobuild/run/instance-2/output-1/build/gli-559cbe1ec38878e182507d331e0780fbae5baf15/test/core/core_convert.cpp: In function 'bool convert_rgb32f_rgb9e5(const char*, const char*)':
/srv/storage/autobuild/run/instance-2/output-1/build/gli-559cbe1ec38878e182507d331e0780fbae5baf15/test/core/core_convert.cpp:36:45: error: ordered comparison of pointer with integer zero ('const char*' and 'int')
   36 |         if(std::strstr(FilenameDst, ".dds") > 0 || std::strstr(FilenameDst, ".ktx") > 0)
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~

Fixes:
 - http://autobuild.buildroot.org/results/4f1dbb7cf2b071f3b92d00d13984068ef5f5b329

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/gli/0001-Optional-building-tests.patch [new file with mode: 0644]
package/gli/gli.mk