[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/urgrep 56acdfe434 087/115: Improve how we wait for urgr
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/urgrep 56acdfe434 087/115: Improve how we wait for urgrep to finish in tests |
|
Date: |
Wed, 10 May 2023 03:00:47 -0400 (EDT) |
branch: externals/urgrep
commit 56acdfe4343d466b889f197c15ba214d3f03c09d
Author: Jim Porter <jporterbugs@gmail.com>
Commit: Jim Porter <jporterbugs@gmail.com>
Improve how we wait for urgrep to finish in tests
---
urgrep-tests.el | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/urgrep-tests.el b/urgrep-tests.el
index b9460c643d..3b83a6c770 100644
--- a/urgrep-tests.el
+++ b/urgrep-tests.el
@@ -523,7 +523,8 @@
(local-variable-p 'urgrep-current-tool)))
(should (and (equal urgrep-current-query '("urgrep"))
(local-variable-p 'urgrep-current-query)))
- (sit-for 1)
+ (while (get-buffer-process (current-buffer))
+ (sit-for 0.01))
(goto-char (point-min))
(re-search-forward "urgrep-tests.el")
(beginning-of-line 2)
@@ -535,7 +536,8 @@
(local-variable-p 'urgrep-current-tool)))
(should (and (equal urgrep-current-query '("urgrep" :group nil))
(local-variable-p 'urgrep-current-query)))
- (sit-for 1)
+ (while (get-buffer-process (current-buffer))
+ (sit-for 0.01))
(goto-char (point-min))
(re-search-forward "urgrep-tests.el:")
(urgrep-tests--check-match-at-point))
@@ -546,7 +548,8 @@
(local-variable-p 'urgrep-current-tool)))
(should (and (equal urgrep-current-query (urgrep-command "urgrep"))
(local-variable-p 'urgrep-current-query)))
- (sit-for 1)
+ (while (get-buffer-process (current-buffer))
+ (sit-for 0.01))
(goto-char (point-min))
(re-search-forward "urgrep-tests.el")
(beginning-of-line 2)
- [elpa] externals/urgrep 61478da305 077/115: Improve reliability of running urgrep over Tramp, (continued)
- [elpa] externals/urgrep 61478da305 077/115: Improve reliability of running urgrep over Tramp, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 77fcfc1916 090/115: Use `push` instead of `add-to-list`, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 559b2c07cd 091/115: Add a unit test for getting the preferred tool on multiple hosts, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep fe13a3cbb5 081/115: Fix project-root call on Emacs 27, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep f2c87e7520 080/115: Improve robustness of tests for grep command generation, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep b03a3d84ec 098/115: Add `suffix` argument to `urgrep--get-prop(-pcase)?`, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep eb5191bfd5 097/115: Update copyright year, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 43c82e84ec 082/115: Add CI for Emacs 27.1, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 3082d89bd9 099/115: Add support for abbreviating the command in urgrep buffers, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep b5b426e9ca 084/115: Fix hiding excessive part of rgrep command in Emacs 28, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 56acdfe434 087/115: Improve how we wait for urgrep to finish in tests,
ELPA Syncer <=
- [elpa] externals/urgrep 30cc9e363e 085/115: Fix context-line detection for find/grep, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 0b036cdcf4 100/115: Improve explanation of `C-u C-u` for choosing directory, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 6614dfe651 102/115: Update checkout action in CI, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 01fbe92f2c 103/115: In tests, wait for grep to finish before doing any checks, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 99e1de4eb1 105/115: Fix an edge case when unable to get the grouped filename for highlighting, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep f5b41c672b 106/115: Use `rx` in several places, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 91e3807239 109/115: Properly evaluate rx forms, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 1d4bdca3d8 111/115: Add package keywords and such, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 61ef67450b 114/115: Assign copyright to the FSF, ELPA Syncer, 2023/05/10