From d5f050111ecd93c6ddb80be79ff9d636f40d5ed7 Mon Sep 17 00:00:00 2001
From: Nick Mathewson <nickm@torproject.org>
Date: Fri, 11 Oct 2013 13:42:27 -0400
Subject: [PATCH] Fix out-of-tree "make check-local"

---
 src/test/include.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/test/include.am b/src/test/include.am
index c452d2659e..41e115353e 100644
--- a/src/test/include.am
+++ b/src/test/include.am
@@ -87,9 +87,9 @@ endif
 
 check-local: $(NTOR_TEST_DEPS) $(CMDLINE_TEST_TOR)
 if USEPYTHON
-	$(PYTHON) src/test/test_cmdline_args.py $(CMDLINE_TEST_TOR) "${top_srcdir}"
+	$(PYTHON) $(top_srcdir)/src/test/test_cmdline_args.py $(CMDLINE_TEST_TOR) "${top_srcdir}"
 if CURVE25519_ENABLED
-	$(PYTHON) src/test/ntor_ref.py test-tor
-	$(PYTHON) src/test/ntor_ref.py self-test
+	$(PYTHON) $(top_srcdir)/src/test/ntor_ref.py test-tor
+	$(PYTHON) $(top_srcdir)/src/test/ntor_ref.py self-test
 endif
 endif
-- 
GitLab