[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-drill 6533b73246 164/251: Support changing small sleep
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-drill 6533b73246 164/251: Support changing small sleep on command line |
Date: |
Mon, 17 Jan 2022 18:59:12 -0500 (EST) |
branch: elpa/org-drill
commit 6533b732469dd4a8014e9e3ffb29625947d387ed
Author: Phillip Lord <phillip.lord@russet.org.uk>
Commit: Phillip Lord <phillip.lord@russet.org.uk>
Support changing small sleep on command line
---
Makefile | 8 ++++----
robot/all-card-run.sh | 2 --
robot/robot.sh | 9 ++++++++-
robot/spanish-run.sh | 2 --
4 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/Makefile b/Makefile
index 4befd46231..6dfd2efe7b 100644
--- a/Makefile
+++ b/Makefile
@@ -43,15 +43,15 @@ clean-elc:
all-robot-test: basic-robot-test leitner-robot-test all-card-robot-test
spanish-robot-test
basic-robot-test: clean-elc
- $(EMACS_ENV) ./robot/basic-run.sh
+ $(EMACS_ENV) ./robot/basic-run.sh $(SMALL)
leitner-robot-test: clean-elc
- $(EMACS_ENV) ./robot/leitner-run.sh
+ $(EMACS_ENV) ./robot/leitner-run.sh $(SMALL)
all-card-robot-test: clean-elc
- $(EMACS_ENV) ./robot/all-card-run.sh
+ $(EMACS_ENV) ./robot/all-card-run.sh $(SMALL)
spanish-robot-test: clean-elc
- $(EMACS_ENV) ./robot/spanish-run.sh
+ $(EMACS_ENV) ./robot/spanish-run.sh $(SMALL)
.PHONY: test
diff --git a/robot/all-card-run.sh b/robot/all-card-run.sh
index 5f35401d27..3d70fc0dbb 100755
--- a/robot/all-card-run.sh
+++ b/robot/all-card-run.sh
@@ -7,8 +7,6 @@ source $this_dir/robot.sh
card_no=12
-small_sleep=0.1
-
function run_drill {
## Org-drill should be running at this point, so give three answers
diff --git a/robot/robot.sh b/robot/robot.sh
index c9a6169892..8b7e9a31fd 100644
--- a/robot/robot.sh
+++ b/robot/robot.sh
@@ -7,7 +7,14 @@ window_id=
## This is the small sleep between key presses. Change for debugging
## when you are not sure what is happening
-small_sleep=0.1
+echo arg is $1
+if [ -z $1 ]
+then
+ small_sleep=0.1
+else
+ small_sleep=$1
+fi
+
big_sleep=1
emacs_process_pid=
diff --git a/robot/spanish-run.sh b/robot/spanish-run.sh
index c90e31a1a9..c8cf19ad11 100755
--- a/robot/spanish-run.sh
+++ b/robot/spanish-run.sh
@@ -7,8 +7,6 @@ source $this_dir/robot.sh
card_no=15
-small_sleep=0.1
-
function run_drill {
## Org-drill should be running at this point, so give three answers
- [nongnu] elpa/org-drill 54cde2dbf7 132/251: Move to eieio objects, (continued)
- [nongnu] elpa/org-drill 54cde2dbf7 132/251: Move to eieio objects, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill be851b9eb4 142/251: Refactor robot testing, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 1470bdb487 131/251: Remove org-drill-new-entries, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 50885fbeea 146/251: Refactor robot testing to allow multiple tests, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill c58cb90ff0 123/251: Update gitignore, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 644b0a5cbc 126/251: Remove org-learn as a separate package, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 9aa3e98ea0 130/251: Remove org-drill-start-time, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill b161277f82 156/251: Replace more non-namespaced commands, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 61fe47deb8 152/251: Replace drill-answer, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 02b507b839 151/251: Add leitner robot test and fix, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 6533b73246 164/251: Support changing small sleep on command line,
ELPA Syncer <=
- [nongnu] elpa/org-drill a949ece724 165/251: Remove more dynamic scoping errors, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 82c2ec8b1f 189/251: Replace call to gensym with cl-gensym, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 4300ef9d4c 168/251: Fix broken form in org-drill-resume, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 58b353993c 158/251: Complete namespace cleanliness, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 77480ae0a2 181/251: Remove arguments from presentation-prompt, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 5a405f5d08 188/251: Fix session call in org-drill-sm-or-leitner, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill c44ca7447b 199/251: Document explainer, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 5b6bb5445c 157/251: Fix broken test, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill b2b7c3f625 175/251: Remove dynamic scoping, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 7a7f9370fa 159/251: Fix byte compilation errors, ELPA Syncer, 2022/01/17