aboutsummaryrefslogtreecommitdiff
path: root/test/tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/tests.el')
-rw-r--r--test/tests.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/tests.el b/test/tests.el
index e097244..11914bb 100644
--- a/test/tests.el
+++ b/test/tests.el
@@ -6,9 +6,12 @@
(unintern symbol)))))
;;; Tests
+(defvar stack-test-data-dir
+ (expand-file-name "data-samples/")
+ "")
(defun stack-test-sample-data (method &optional directory)
- (let ((file (concat "data-samples/"
+ (let ((file (concat stack-test-data-dir
(when directory (concat directory "/"))
method ".el")))
(when (file-exists-p file)