Skip to content

Commit aa3a986

Browse files
committed
Disable memory leak tests on Windows
1 parent 7cf7fa3 commit aa3a986

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test-module/tests/main.el

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,13 +315,17 @@
315315
(ert-deftest global-ref::free-after-normal-return ()
316316
(unless t/support-module-assertions-p
317317
(ert-skip "--module-assertions is not supported"))
318+
(when (eq system-type 'windows-nt)
319+
(ert-skip "We don't know how to correctly handle failed PowerShell subprocess"))
318320
(should (string-match-p
319321
"Emacs value not found in"
320322
(cadr (t/get-error (t/run-in-sub-process 't/free-global-ref-after-normal-return))))))
321323

322324
(ert-deftest global-ref::free-after-error ()
323325
(unless t/support-module-assertions-p
324326
(ert-skip "--module-assertions is not supported"))
327+
(when (eq system-type 'windows-nt)
328+
(ert-skip "We don't know how to correctly handle failed PowerShell subprocess"))
325329
(should (string-match-p
326330
"Emacs value not found in"
327331
(cadr (t/get-error (t/run-in-sub-process 't/free-global-ref-after-error))))))

0 commit comments

Comments
 (0)