From 2995916b273173942ac3846919019987b40698c8 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 22 Dec 2018 14:23:09 -0500 Subject: Makefile.am: Fix srcdir macros in test target --- diff --git a/Makefile.am b/Makefile.am index ff9ee39..76d8f2c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -131,10 +131,10 @@ dist-hook: fi test: - @cd '$(srcdir)/tests'; \ + @cd '$(abs_top_srcdir)/tests'; \ all=0; failed=0; \ for test in $(tests); do \ - out="$$($(sh) "$(srcdir)/$${test}" 2>&1)"; \ + out="$$($(SH) "$(abs_top_srcdir)/$${test}" 2>&1)"; \ if [ $${?} -eq 0 ]; then \ printf 'PASS: %s\n' "$${test}"; \ else \ -- cgit v0.9.1