You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
559 B

  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