diff options
| author | AndreaCorallo | 2020-02-14 14:32:47 +0000 |
|---|---|---|
| committer | Andrea Corallo | 2020-02-14 23:26:20 +0100 |
| commit | 0c6f4caeb32b2bf531079feb5a9e73b79496b99d (patch) | |
| tree | 48f5d0bf177dd66c810fa7dad12f177cc6e74a38 /test/src | |
| parent | fe9e4c42b3e4519032c7c9ee62400f9793ab4f76 (diff) | |
| download | emacs-0c6f4caeb32b2bf531079feb5a9e73b79496b99d.tar.gz emacs-0c6f4caeb32b2bf531079feb5a9e73b79496b99d.zip | |
Clean-up old gc disable refuse in comp-tests-non-locals
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/comp-tests.el | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/test/src/comp-tests.el b/test/src/comp-tests.el index bd844a90c3c..15a39c4e883 100644 --- a/test/src/comp-tests.el +++ b/test/src/comp-tests.el | |||
| @@ -258,16 +258,15 @@ Check that the resulting binaries do not differ." | |||
| 258 | 258 | ||
| 259 | (ert-deftest comp-tests-non-locals () | 259 | (ert-deftest comp-tests-non-locals () |
| 260 | "Test non locals." | 260 | "Test non locals." |
| 261 | (let ((gc-cons-threshold most-positive-fixnum)) ;; FIXME!! | 261 | (should (string= (comp-tests-condition-case-0-f) |
| 262 | (should (string= (comp-tests-condition-case-0-f) | 262 | "arith-error Arithmetic error catched")) |
| 263 | "arith-error Arithmetic error catched")) | 263 | (should (string= (comp-tests-condition-case-1-f) |
| 264 | (should (string= (comp-tests-condition-case-1-f) | 264 | "error foo catched")) |
| 265 | "error foo catched")) | 265 | (should (= (comp-tests-catch-f |
| 266 | (should (= (comp-tests-catch-f | 266 | (lambda () (throw 'foo 3))) |
| 267 | (lambda () (throw 'foo 3))) | 267 | 3)) |
| 268 | 3)) | 268 | (should (= (catch 'foo |
| 269 | (should (= (catch 'foo | 269 | (comp-tests-throw-f 3))))) |
| 270 | (comp-tests-throw-f 3)))))) | ||
| 271 | 270 | ||
| 272 | (ert-deftest comp-tests-gc () | 271 | (ert-deftest comp-tests-gc () |
| 273 | "Try to do some longer computation to let the gc kick in." | 272 | "Try to do some longer computation to let the gc kick in." |