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