"comp-tests-resources/"))
(defconst comp-test-src
- (concat comp-test-directory "comp-test-funcs.el"))
+ (expand-file-name "comp-test-funcs.el" comp-test-directory))
(defconst comp-test-dyn-src
- (concat comp-test-directory "comp-test-funcs-dyn.el"))
+ (expand-file-name"comp-test-funcs-dyn.el" comp-test-directory))
(when (featurep 'nativecomp)
(require 'comp)
Check that the resulting binaries do not differ."
:tags '(:expensive-test :nativecomp)
(let* ((byte-native-for-bootstrap t) ; FIXME HACK
- (comp-src (concat comp-test-directory
- "../../lisp/emacs-lisp/comp.el"))
+ (comp-src (expand-file-name "../../../lisp/emacs-lisp/comp.el"
+ comp-test-directory))
(comp1-src (make-temp-file "stage1-" nil ".el"))
(comp2-src (make-temp-file "stage2-" nil ".el"))
;; Can't use debug symbols.
(comp-deftest 45603-1 ()
"<https://lists.gnu.org/archive/html/bug-gnu-emacs/2020-12/msg01994.html>"
- (load (native-compile (concat comp-test-directory "comp-test-45603.el")))
+ (load (native-compile (expand-file-name "comp-test-45603.el"
+ comp-test-directory)))
(should (fboundp #'comp-test-45603--file-local-name)))
(comp-deftest 46670-1 ()
(let ((comp-speed 3)
(comp-post-pass-hooks '((comp-final comp-tests-pure-checker-1
comp-tests-pure-checker-2))))
- (load (native-compile (concat comp-test-directory "comp-test-pure.el")))
+ (load (native-compile (expand-file-name "comp-test-pure.el"
+ comp-test-directory)))
(should (subr-native-elisp-p (symbol-function #'comp-tests-pure-caller-f)))
(should (= (comp-tests-pure-caller-f) 4))