[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-drill d37519f54c 147/251: Clean up robot testing
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-drill d37519f54c 147/251: Clean up robot testing |
Date: |
Mon, 17 Jan 2022 18:59:10 -0500 (EST) |
branch: elpa/org-drill
commit d37519f54c903bc51377a261c070cb0e0987fbc5
Author: Phillip Lord <phillip.lord@russet.org.uk>
Commit: Phillip Lord <phillip.lord@russet.org.uk>
Clean up robot testing
---
robot/basic-run.el | 4 ++--
robot/basic-run.sh | 1 -
robot/robot.el | 11 ++++++++++-
robot/robot.sh | 5 +++--
4 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/robot/basic-run.el b/robot/basic-run.el
index 8e853e3dc9..2059d7b0eb 100644
--- a/robot/basic-run.el
+++ b/robot/basic-run.el
@@ -2,8 +2,8 @@
(load-file "org-drill.el")
(defun org-drill-do-drill ()
- (copy-file "robot/main-test.org" "robot/main-test-copy.org" t)
- (find-file "robot/main-test-copy.org")
+ (copy "main-test.org" "main-test-copy.org")
+ (find "main-test-copy.org")
(org-drill)
(set-buffer-modified-p nil)
diff --git a/robot/basic-run.sh b/robot/basic-run.sh
index d92172df10..336063f25c 100755
--- a/robot/basic-run.sh
+++ b/robot/basic-run.sh
@@ -43,4 +43,3 @@ launch_emacs $this_dir/basic-run.el
wait_emacs
} || cat robot/failure.txt
- $EMACS -Q -l $1 &
diff --git a/robot/robot.el b/robot/robot.el
index 43f31da63a..a9813d975a 100644
--- a/robot/robot.el
+++ b/robot/robot.el
@@ -9,8 +9,17 @@
(setq debug-on-error t)
(setq debug-on-quit t)
+(defun robot-file (file)
+ (concat top-dir "robot/" file))
+
(defun clean (file)
- (delete-file (concat top-dir "robot/" file)))
+ (delete-file (robot-file file)))
+
+(defun copy (from to)
+ (copy-file (robot-file from) (robot-file to) t))
+
+(defun find (file)
+ (find-file (robot-file file)))
;; Clean up
(clean "failure.txt")
diff --git a/robot/robot.sh b/robot/robot.sh
index 022b567428..e0c3e6acc0 100644
--- a/robot/robot.sh
+++ b/robot/robot.sh
@@ -28,8 +28,9 @@ function send_answer {
}
function launch_emacs {
- echo Launching $EMACS -Q -l $1 &
- $EMACS -Q -l $1 &
+ echo Launching $EMACS -Q -l $* &
+
+ $EMACS -Q -l $* &
emacs_process_pid=$!
}
- [nongnu] elpa/org-drill 562baba885 102/251: Added tag 2.6.1 for changeset 586920548547, (continued)
- [nongnu] elpa/org-drill 562baba885 102/251: Added tag 2.6.1 for changeset 586920548547, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill d9ffa4b91f 104/251: Add support for typing in buffer input, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 45e92eca74 109/251: Add org-drill-cram-tree function, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill ef79a22735 111/251: Add explain support, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill ef9bad812c 112/251: Explain tags now inherit, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 6959903b99 113/251: Explain status of fork, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 507daae5a2 128/251: Remove org-drill-session-qualities, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 0e89d9a638 134/251: Remove more variables, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill a803289de9 137/251: Remove last of earmuff variables, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill df13d89a4c 119/251: Add interactive test functions, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill d37519f54c 147/251: Clean up robot testing,
ELPA Syncer <=
- [nongnu] elpa/org-drill 9fa9b6eabf 148/251: Robot test all card types, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 500d1475c3 120/251: Add count entries test, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill c1c57adea9 133/251: Remove dormant-entry-count, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill a923ba2c90 145/251: Move exit-kind to slot, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 9555e487d4 143/251: Fix presentation-in-buffer, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 0286de5402 139/251: Remove unneed form, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill ba0a346583 125/251: Removed generated file, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill ffc04493f8 136/251: Remove more variables, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill d47080e3bc 121/251: Remove generated file, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill fd3efa233e 127/251: Port to cl-lib, ELPA Syncer, 2022/01/17