From 244e97d5f83af9ae0c4357f6b882e28158df9b19 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Mon, 26 Apr 2021 17:03:19 +0200 Subject: [PATCH] Move native compiler test data into proper directory (bug#48031) * test/src/comp-tests-resources/comp-test-45603.el: Rename. * test/src/comp-tests-resources/comp-test-funcs-dyn.el: Likewise. * test/src/comp-tests-resources/comp-test-funcs.el: Likewise. * test/src/comp-tests-resources/comp-test-pure.el: Likewise. * test/src/comp-tests.el (comp-test-directory): Update. --- test/src/{ => comp-tests-resources}/comp-test-45603.el | 0 test/src/{ => comp-tests-resources}/comp-test-funcs-dyn.el | 0 test/src/{ => comp-tests-resources}/comp-test-funcs.el | 0 test/src/{ => comp-tests-resources}/comp-test-pure.el | 0 test/src/comp-tests.el | 7 +++++-- 5 files changed, 5 insertions(+), 2 deletions(-) rename test/src/{ => comp-tests-resources}/comp-test-45603.el (100%) rename test/src/{ => comp-tests-resources}/comp-test-funcs-dyn.el (100%) rename test/src/{ => comp-tests-resources}/comp-test-funcs.el (100%) rename test/src/{ => comp-tests-resources}/comp-test-pure.el (100%) diff --git a/test/src/comp-test-45603.el b/test/src/comp-tests-resources/comp-test-45603.el similarity index 100% rename from test/src/comp-test-45603.el rename to test/src/comp-tests-resources/comp-test-45603.el diff --git a/test/src/comp-test-funcs-dyn.el b/test/src/comp-tests-resources/comp-test-funcs-dyn.el similarity index 100% rename from test/src/comp-test-funcs-dyn.el rename to test/src/comp-tests-resources/comp-test-funcs-dyn.el diff --git a/test/src/comp-test-funcs.el b/test/src/comp-tests-resources/comp-test-funcs.el similarity index 100% rename from test/src/comp-test-funcs.el rename to test/src/comp-tests-resources/comp-test-funcs.el diff --git a/test/src/comp-test-pure.el b/test/src/comp-tests-resources/comp-test-pure.el similarity index 100% rename from test/src/comp-test-pure.el rename to test/src/comp-tests-resources/comp-test-pure.el diff --git a/test/src/comp-tests.el b/test/src/comp-tests.el index a679cf85e36..28adb64b8c1 100644 --- a/test/src/comp-tests.el +++ b/test/src/comp-tests.el @@ -28,8 +28,11 @@ (require 'ert) (require 'cl-lib) -(defconst comp-test-directory (file-name-directory (or load-file-name - buffer-file-name))) +(defconst comp-test-directory (concat (file-name-directory + (or load-file-name + buffer-file-name)) + "comp-tests-resources/")) + (defconst comp-test-src (concat comp-test-directory "comp-test-funcs.el")) -- 2.39.5