aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorArun Isaac2019-05-20 16:24:39 +0530
committerArun Isaac2019-05-20 16:28:26 +0530
commita4b865d24281507706bf1b391a308f91ac8e5e6b (patch)
treecbf688c2c571c07e6949751a74b204fcf2b0a594 /tests
parentc1058d99c34e62b99dbfca13ada47519fb51bf73 (diff)
downloadexiftool.el-a4b865d24281507706bf1b391a308f91ac8e5e6b.tar.gz
exiftool.el-a4b865d24281507706bf1b391a308f91ac8e5e6b.tar.lz
exiftool.el-a4b865d24281507706bf1b391a308f91ac8e5e6b.zip
Move tests Makefile to top level directory.
* tests/Makefile: Delete file. * Makefile: New file.
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)))