aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile2
-rw-r--r--tests/exiftool-tests.el2
2 files changed, 1 insertions, 3 deletions
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)))