From 2285f446112f64884da490fc66144b19f6cb8504 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Wed, 28 May 2008 16:27:02 +0200 Subject: [PATCH] Correct redirect of stderr in testsuite. Make installcheck not depend on clean. --- testsuite/ChangeLog | 5 +++++ testsuite/Makefile.am | 4 ++-- testsuite/Makefile.in | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index 6798c3707..cf4624ee2 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-05-28 Mark Wielaard + + * testsuite/Makefile.am (clean-local): Correct redirect of stderr. + (installcheck): Don't depend on clean. + 2008-05-28 Mark Wielaard * lib/systemtap.exp (setup_systemtap_environment): Create user diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am index fe089f50f..b66bb75fc 100644 --- a/testsuite/Makefile.am +++ b/testsuite/Makefile.am @@ -9,7 +9,7 @@ all-local: clean-local: -rm -f ./stap site.exp systemtap.sum systemtap.log - -rm -rf .systemtap* .cache_test* 2>&1 /dev/null + -rm -rf .systemtap* .cache_test* 2>/dev/null DEJAZILLA=@dejazilla@ @@ -20,7 +20,7 @@ check-local: if test -n "$(DEJAZILLA)"; then mail $(DEJAZILLA) < systemtap.sum; fi # but installcheck does not follow an implicit check-DEJAGNU, go figure -installcheck: clean site.exp +installcheck: site.exp -$(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU RUNTESTFLAGS="$(RUNTESTFLAGS) --tool_opts install" if test -n "$(DEJAZILLA)"; then mail $(DEJAZILLA) < systemtap.sum; fi diff --git a/testsuite/Makefile.in b/testsuite/Makefile.in index cc76cadae..c8b07bdcd 100644 --- a/testsuite/Makefile.in +++ b/testsuite/Makefile.in @@ -459,7 +459,7 @@ all-local: clean-local: -rm -f ./stap site.exp systemtap.sum systemtap.log - -rm -rf .systemtap .cache_test 2>/dev/null + -rm -rf .systemtap* .cache_test* 2>/dev/null # automake's dejagnu library already runs check-DEJAGNU before check-local # That's why we need to add "execrc" to $(RUNTEST) - to ensure that this @@ -468,7 +468,7 @@ check-local: if test -n "$(DEJAZILLA)"; then mail $(DEJAZILLA) < systemtap.sum; fi # but installcheck does not follow an implicit check-DEJAGNU, go figure -installcheck: clean site.exp +installcheck: site.exp -$(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU RUNTESTFLAGS="$(RUNTESTFLAGS) --tool_opts install" if test -n "$(DEJAZILLA)"; then mail $(DEJAZILLA) < systemtap.sum; fi # Tell versions [3.59,3.63) of GNU make to not export all variables. -- 2.43.5