Skip to content

test: skip compressed file tests when --disable-open-zfile is used

Alan Coopersmith requested to merge alanc/libxpm:test into master

Without this fix, running make check after passing --disable-open-zfile to configure results in:

PASS: XpmMisc 1 /XpmMisc/XpmAttributesSize
PASS: XpmMisc 2 /XpmMisc/XpmGetErrorString
PASS: XpmMisc 3 /XpmMisc/XpmLibraryVersion
ERROR: XpmWrite - too few tests run (expected 3, got 0)
ERROR: XpmCreate - too few tests run (expected 2, got 0)
ERROR: XpmRead - too few tests run (expected 3, got 0)
ERROR: XpmWrite - exited with status 262 (terminated by signal 6?)
ERROR: XpmRead - exited with status 262 (terminated by signal 6?)
ERROR: XpmCreate - exited with status 262 (terminated by signal 6?)
============================================================================
Testsuite summary for libXpm 3.5.15
============================================================================
# TOTAL: 9
# PASS:  3
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 6
============================================================================
See test/test-suite.log
Please report to https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues

Merge request reports

Loading