From a4b865d24281507706bf1b391a308f91ac8e5e6b Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 20 May 2019 16:24:39 +0530 Subject: Move tests Makefile to top level directory. * tests/Makefile: Delete file. * Makefile: New file. --- tests/Makefile | 2 -- tests/exiftool-tests.el | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 tests/Makefile (limited to 'tests') diff --git a/tests/Makefile b/tests/Makefile deleted file mode 100644 index 1624e4b..0000000 --- a/tests/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -check: - emacs -batch -l ../exiftool.el -l exiftool-tests.el -f ert-run-tests-batch-and-exit diff --git a/tests/exiftool-tests.el b/tests/exiftool-tests.el index 0ef5fa2..8ed4f1c 100644 --- a/tests/exiftool-tests.el +++ b/tests/exiftool-tests.el @@ -52,7 +52,7 @@ (declare (indent defun)) `(let ((,temp-file (make-temp-file "exiftool-" nil (concat "-" ,test-file)))) - (copy-file ,test-file ,temp-file t) + (copy-file ,(expand-file-name test-file "tests") ,temp-file t) ,@body (delete-file ,temp-file))) -- cgit v1.2.3