Commit Graph

8 Commits

Author SHA1 Message Date
Demi Marie Obenour 8935793f1f Add tests for unix socket parsing
Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
2023-03-25 15:27:50 -04:00
Ran Benita f01f3c378e tests: don't use deprecated fail_unless check API
It causes errors like this when running make check:

check_public.c:40:24: error: too many arguments for format [-Werror=format-extra-args]
   40 |   fail_unless(success, "unexpected parse failure %sfor '%s'", test_string[test_type], name);

Closes: https://gitlab.freedesktop.org/xorg/lib/libxcb/-/issues/49
Tested-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Ran Benita <ran@unusedvar.com>
2020-11-18 23:06:05 -05:00
Ian Osgood 19dfaf93ac Fix unit tests for FreeBSD
putenv() string must contain '='
environment failure test is invalid if argument is NULL
2006-11-26 09:27:37 -08:00
Ian Osgood e74cdcd02e Bug #9119: test xcb_popcount 2006-11-25 11:00:14 -08:00
Josh Triplett 6c3a8db3f6 Add new xcb_parse_display test cases, most related to IPv6 addresses 2006-11-20 17:48:49 -08:00
Josh Triplett 5abb10d63f Also test xcb_parse_display with NULL argument and display in $DISPLAY 2006-10-16 05:11:57 -07:00
Josh Triplett 0a867d7233 Convert the XCB test suite to the new API 2006-09-23 13:59:40 -07:00
Josh Triplett 47ceed7861 Remove xcl and CVSROOT. 2006-02-18 16:49:41 -08:00