aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorAndreaCorallo2020-02-14 14:32:47 +0000
committerAndrea Corallo2020-02-14 23:26:20 +0100
commit0c6f4caeb32b2bf531079feb5a9e73b79496b99d (patch)
tree48f5d0bf177dd66c810fa7dad12f177cc6e74a38 /test/src
parentfe9e4c42b3e4519032c7c9ee62400f9793ab4f76 (diff)
downloademacs-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.el19
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."