projects
/
platform
/
upstream
/
libxkbcommon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test: add proper --verbose handling to the xkeyboard-config tester
[platform/upstream/libxkbcommon.git]
/
test
/
test.h
diff --git
a/test/test.h
b/test/test.h
index
ec0b16d
..
81ba49b
100644
(file)
--- a/
test/test.h
+++ b/
test/test.h
@@
-28,8
+28,12
@@
/* Don't use compat names in internal code. */
#define _XKBCOMMON_COMPAT_H
#include "xkbcommon/xkbcommon.h"
/* Don't use compat names in internal code. */
#define _XKBCOMMON_COMPAT_H
#include "xkbcommon/xkbcommon.h"
+#include "xkbcommon/xkbcommon-compose.h"
#include "utils.h"
#include "utils.h"
+/* Automake test exit code to signify SKIP (à la PASS, FAIL, etc). */
+#define SKIP_TEST 77
+
/* The offset between KEY_* numbering, and keycodes in the XKB evdev
* dataset. */
#define EVDEV_OFFSET 8
/* The offset between KEY_* numbering, and keycodes in the XKB evdev
* dataset. */
#define EVDEV_OFFSET 8
@@
-77,8
+81,8
@@
test_compile_rules(struct xkb_context *context, const char *rules,
const char *model, const char *layout, const char *variant,
const char *options);
const char *model, const char *layout, const char *variant,
const char *options);
-void
-test_print_keycode_state(struct xkb_state *state, xkb_keycode_t keycode);
-void
-test_print_state_changes(enum xkb_state_component changed);
+#ifdef _MSC_VER
+#define setenv(varname, value, overwrite) _putenv_s((varname), (value))
+#define unsetenv(varname) _putenv_s(varname, "")
+#endif