Run instructions for empty event test

This commit is contained in:
Kovid Goyal 2019-07-15 21:31:31 +05:30
parent 8244f7cd58
commit 81506640c8
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1152,7 +1152,8 @@ stop_main_loop(void) {
static PyObject*
test_empty_event(PYNOARG) {
// To run this, use
// kitty +runpy "from kitty.main import init_glfw_module; init_glfw_module('x11'); from kitty.fast_data_types import glfw_test_empty_event; glfw_test_empty_event()"
int ret = empty_main();
if (ret != EXIT_SUCCESS) {
PyErr_Format(PyExc_RuntimeError, "Empty test returned failure code: %d", ret);