Files
libuev/test/Makefile.am
T
omrzk e699cb7f5f Honor UEV_ONCE when stdin is redirected from a file
With stdin redirected from a regular file, uev_run() with UEV_ONCE does
not return until end of file:

    app < file.txt

The workaround for regular files, which epoll cannot watch, restarts
the loop before the UEV_ONCE check.

Check the flag there too.

Closes #37
2026-11-16 14:54:47 +01:00

19 lines
515 B
Makefile

EXTRA_DIST = check.h
CLEANFILES = *~ *.trs *.log
AM_CFLAGS = -W -Wall -Wextra -Wno-unused-result -Wno-unused-parameter
AM_CPPFLAGS = -D_GNU_SOURCE -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64
AM_LDFLAGS = -L../src ../src/libuev.la
TESTS =
TESTS += active
TESTS += api
TESTS += complete
TESTS += cronrun
TESTS += io
TESTS += signal
TESTS += stdin
TESTS += timer
TESTS += event
check_PROGRAMS = $(TESTS)