emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 244e97d 2/3: Move native compiler test data into proper directory


From: Andrea Corallo
Subject: master 244e97d 2/3: Move native compiler test data into proper directory (bug#48031)
Date: Mon, 26 Apr 2021 11:37:52 -0400 (EDT)

branch: master
commit 244e97d5f83af9ae0c4357f6b882e28158df9b19
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>

    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(-)

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 a679cf8..28adb64 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"))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]