From 42c859e4cc38f91a1236cd93eae9e9f9a1bc1e62 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Mon, 6 Oct 2014 03:01:40 -0400 Subject: pmtest: allow tests to specify test binary Adds a cmd property to tests (defaults to pacman) which is resolved using directories specified with --bindir (defaults to PATH). The ability to manually specify a particular binary is preserved in order to allow running individual tests with differently named binaries such as lt-pacman. Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 4c6f6565..44a23414 100644 --- a/Makefile.am +++ b/Makefile.am @@ -45,7 +45,8 @@ PY_LOG_COMPILER = $(PYTHON) $(top_srcdir)/test/pacman/pactest.py AM_PY_LOG_FLAGS = \ --scriptlet-shell $(SCRIPTLET_SHELL) \ --ldconfig $(LDCONFIG) \ - -p $(top_builddir)/src/pacman/pacman + --bindir $(top_builddir)/src/pacman \ + --bindir $(top_builddir)/scripts # create the pacman DB and cache directories upon install install-data-local: -- cgit v1.2.3-24-g4f1b