summaryrefslogtreecommitdiffstats
path: root/term-utils/Makemodule.am
diff options
context:
space:
mode:
authorSami Kerola2015-05-24 19:14:58 +0200
committerSami Kerola2015-06-06 15:36:38 +0200
commit6a40c65f81d393667bb7059be7d89eaf5cc99791 (patch)
treee7456e1463cc79f8aff14a200e30bad2710cde8e /term-utils/Makemodule.am
parenttests: add script output buffering race check (diff)
downloadkernel-qcow2-util-linux-6a40c65f81d393667bb7059be7d89eaf5cc99791.tar.gz
kernel-qcow2-util-linux-6a40c65f81d393667bb7059be7d89eaf5cc99791.tar.xz
kernel-qcow2-util-linux-6a40c65f81d393667bb7059be7d89eaf5cc99791.zip
tests: check script options work as expected
Options --flush and --timing remain unchecked, as I do not have an idea how to check them reliably. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'term-utils/Makemodule.am')
-rw-r--r--term-utils/Makemodule.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/term-utils/Makemodule.am b/term-utils/Makemodule.am
index e7ac707fe..de62098aa 100644
--- a/term-utils/Makemodule.am
+++ b/term-utils/Makemodule.am
@@ -9,6 +9,11 @@ endif
if HAVE_UTEMPTER
script_LDADD += -lutempter
endif
+
+check_PROGRAMS += test_script
+test_script_SOURCES = $(script_SOURCES)
+test_script_LDADD = $(script_LDADD)
+test_script_CFLAGS = -DTEST_SCRIPT $(logger_CFLAGS)
endif # BUILD_SCRIPT
if BUILD_SCRIPTREPLAY