Update periodic testing scripts
o9000 mrovi9000@gmail.com
5 files changed,
6 insertions(+),
6 deletions(-)
M
src/execplugin/execplugin.c
→
src/execplugin/execplugin.c
@@ -109,7 +109,7 @@ free_and_null(execp->backend->uwheel_command);
if (execp->backend->instances) { fprintf(stderr, "tint2: Error: Attempt to destroy backend while there are still frontend instances!\n"); - exit(-1); + exit(EXIT_FAILURE); } free(execp->backend); free(execp);
M
src/init.c
→
src/init.c
@@ -75,7 +75,7 @@ error = TRUE;
} if (error) { print_usage(); - exit(1); + exit(EXIT_FAILURE); } } }@@ -184,7 +184,7 @@ {
server.display = XOpenDisplay(NULL); if (!server.display) { fprintf(stderr, "tint2: could not open display!\n"); - exit(1); + exit(EXIT_FAILURE); } server.x11_fd = ConnectionNumber(server.display); XSetErrorHandler((XErrorHandler)server_catch_error);
M
src/util/common.c
→
src/util/common.c
@@ -808,7 +808,7 @@ } else {
GdkPixbuf *pixbuf = rsvg_handle_get_pixbuf(svg); gdk_pixbuf_save(pixbuf, tmp_filename, "png", NULL, NULL); } - exit(0); + _exit(0); } else { // Parent close(fd);
M
test/regression.py
→
test/regression.py
@@ -160,7 +160,7 @@ start_xsettings()
start_wm() sleep(1) os.environ["DEBUG_FPS"] = "1" - os.environ["ASAN_OPTIONS"] = "detect_leaks=1" + os.environ["ASAN_OPTIONS"] = "detect_leaks=1:exitcode=0" tint2 = run([tint2path, "-c", config], True) if tint2.poll() != None: raise RuntimeError("tint2 failed to start")