summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Yuan <shengquan.yuan@gmail.com>2011-06-07 18:48:19 -0700
committerAustin Yuan <shengquan.yuan@gmail.com>2011-06-07 18:48:19 -0700
commit910c51dcae81d4157748cb09798acb958da312ac (patch)
tree5910108e1bc6bae8995e1a06a025043c11e53998
parent2704b9983415b8646ef211cdaa730df2d7f4336f (diff)
test/basic testing programs do not need to be installed
in /usr/bin; one can run make valgrind here as a check, or run them under make check too. From gimli at dark-green.com Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
-rw-r--r--test/basic/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/basic/Makefile.am b/test/basic/Makefile.am
index a2519a2..c84c264 100644
--- a/test/basic/Makefile.am
+++ b/test/basic/Makefile.am
@@ -20,7 +20,7 @@
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-bin_PROGRAMS = test_01 test_02 test_03 test_04 test_05 test_06 \
+check_PROGRAMS = test_01 test_02 test_03 test_04 test_05 test_06 \
test_07 test_08 test_09 test_10 test_11
AM_CFLAGS = -I$(top_srcdir)/va -I$(top_srcdir)/src/x11
@@ -62,7 +62,7 @@ test_11_SOURCES = test_11.c
EXTRA_DIST = test_common.c
-valgrind: $(bin_PROGRAMS)
- for a in $(bin_PROGRAMS); do \
+valgrind: $(check_PROGRAMS)
+ for a in $(check_PROGRAMS); do \
valgrind --leak-check=full --show-reachable=yes .libs/$$a; \
done