The cmd/command-t test requires libroken and was misspelled in the
TESTS file. Multiple tests require LD_LIBRARY_PATH to be set to find
libafsroken if it hasn't been installed, so set it when running
runtests via make check. (Note that this means runtests -o will not
work properly unless the user also sets LD_LIBRARY_PATH.)
Change-Id: Ib64f0505b3b75db33adb6c7b6452dcaac0b05dbc
Reviewed-on: http://gerrit.openafs.org/4594
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
check test tests: runtests
@for A in $(SUBDIRS); do cd $$A && $(MAKE) $@ && cd .. || exit 1; done
- ./runtests $(abs_top_srcdir)/tests/TESTS
+ LD_LIBRARY_PATH=@TOP_OBJDIR@/lib \
+ ./runtests $(abs_top_srcdir)/tests/TESTS
install:
auth/keys
auth/superuser
auth/authcon
-cmd/commands
+cmd/command
ptserver/pt_util
LIBS = ../tap/libtap.a \
$(abs_top_builddir)/lib/libcmd.a \
- $(abs_top_builddir)/lib/libcom_err.a \
+ $(abs_top_builddir)/lib/libafscom_err.a \
$(abs_top_builddir)/lib/util.a
tests = command-t
all check test tests: $(tests)
command-t: command-t.o $(LIBS)
- $(AFS_LDRULE) command-t.o $(LIBS) $(XLIBS)
+ $(AFS_LDRULE) command-t.o $(LIBS) $(LIB_roken) $(XLIBS)
install: