c7cf98b0e0
The close_stream() is copied from GNU lib. Inspiration to do this is talk by Jim Meyering - Goodbye World! The perils of relying on output streams in C. Reference: http://www.irill.org/events/ghm-gnu-hackers-meeting/videos/jim-meyering-goodbye-world-the-perils-of-relying-on-output-streams-in-c Signed-off-by: Sami Kerola <kerolasa@iki.fi>
51 lines
1004 B
Makefile
51 lines
1004 B
Makefile
AUTOMAKE_OPTIONS = dejagnu
|
|
export DEJAGNU
|
|
|
|
# Programs that are expected across the board.
|
|
DEJATOOL =
|
|
|
|
noinst_PROGRAMS = test-schedbatch
|
|
|
|
test_schedbatch_SOURCES = ps.test/test-schedbatch.c
|
|
|
|
if LINUX
|
|
# These should be in defined in 'across the board' scope, but are
|
|
# temporarily disabled on other than linux systems, see commit
|
|
# 3d807ae853b8b4264da156065b34f1447658a8ba
|
|
DEJATOOL += \
|
|
kill \
|
|
pmap \
|
|
slabtop \
|
|
sysctl
|
|
|
|
DEJATOOL += \
|
|
free \
|
|
pgrep \
|
|
pkill \
|
|
ps \
|
|
pwdx \
|
|
uptime \
|
|
vmstat \
|
|
w
|
|
endif
|
|
|
|
EXTRA_DIST = \
|
|
config/unix.exp \
|
|
global-conf.exp \
|
|
free.test/free.exp \
|
|
kill.test/kill.exp \
|
|
lib.test/fileutils.exp \
|
|
lib.test/strutils.exp \
|
|
pgrep.test/pgrep.exp \
|
|
pkill.test/pkill.exp \
|
|
pmap.test/pmap.exp \
|
|
ps.test/ps_output.exp \
|
|
ps.test/ps_personality.exp \
|
|
ps.test/ps_sched_batch.exp \
|
|
pwdx.test/pwdx.exp \
|
|
slabtop.test/slabtop.exp \
|
|
sysctl.test/sysctl_read.exp \
|
|
uptime.test/uptime.exp \
|
|
vmstat.test/vmstat.exp \
|
|
w.test/w.exp
|