01_zscanner_tests.patch 559 B

12345678910111213141516171819202122232425
  1. diff --git a/src/zscanner/tests/unittests.in b/src/zscanner/tests/unittests.in
  2. index 9a4af53..f9b45bf 100644
  3. --- a/src/zscanner/tests/unittests.in
  4. +++ b/src/zscanner/tests/unittests.in
  5. @@ -1,15 +1,14 @@
  6. #!/bin/sh
  7. -SOURCE=@top_srcdir@/src/zscanner/tests
  8. -BUILD=@top_builddir@/src/zscanner/tests
  9. +SOURCE="."
  10. +BUILD="/tmp/knot-test"
  11. +mkdir -p "$BUILD"
  12. -. @top_srcdir@/libtap/tap/libtap.sh
  13. -
  14. -cd "$BUILD"
  15. +. ../tap/libtap.sh
  16. TMPDIR=$(test_tmpdir)
  17. TESTS_DIR="$SOURCE"/data
  18. -ZSCANNER_TOOL="$BUILD"/zscanner-tool
  19. +ZSCANNER_TOOL=./zscanner-tool
  20. plan 71