diff options
| author | Michael Albinus | 2021-11-18 19:35:13 +0100 |
|---|---|---|
| committer | Michael Albinus | 2021-11-18 19:35:13 +0100 |
| commit | 03fba4da8fc689dabc65e693631cd17d819b5135 (patch) | |
| tree | f04ef3cbd875c4c80d7ee3f2b2d89e628758c97d /test | |
| parent | a4e789c2e32dd16898529ece30bd2a90cef40c10 (diff) | |
| download | emacs-03fba4da8fc689dabc65e693631cd17d819b5135.tar.gz emacs-03fba4da8fc689dabc65e693631cd17d819b5135.zip | |
Do not exclude emacs-module-tests.el on emba
* test/infra/gitlab-ci.yml (test-native-comp-speed0)
(test-all-inotify): Do not exclude emacs-module-tests.el.
* test/src/emacs-module-tests.el
(module--test-assertions--load-non-live-object)
(module--test-assertions--load-non-live-object-with-global-copy)
(module--test-assertions--call-emacs-from-gc)
(module--test-assertions--globref-invalid-free): Tag them as
:unstable on emba. (Bug#50902)
Diffstat (limited to 'test')
| -rw-r--r-- | test/infra/gitlab-ci.yml | 6 | ||||
| -rw-r--r-- | test/src/emacs-module-tests.el | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/test/infra/gitlab-ci.yml b/test/infra/gitlab-ci.yml index 001c7795725..096a293b302 100644 --- a/test/infra/gitlab-ci.yml +++ b/test/infra/gitlab-ci.yml | |||
| @@ -302,9 +302,7 @@ test-native-comp-speed0: | |||
| 302 | extends: [.job-template, .test-template, .native-comp-template] | 302 | extends: [.job-template, .test-template, .native-comp-template] |
| 303 | variables: | 303 | variables: |
| 304 | target: emacs-native-comp-speed0 | 304 | target: emacs-native-comp-speed0 |
| 305 | make_params: >- | 305 | make_params: "-C test check SELECTOR='(not (tag :unstable))'" |
| 306 | -C test check EXCLUDE_TESTS=%emacs-module-tests.el | ||
| 307 | SELECTOR='(not (tag :unstable))' | ||
| 308 | 306 | ||
| 309 | test-all-inotify: | 307 | test-all-inotify: |
| 310 | # This tests also file monitor libraries inotify and inotifywatch. | 308 | # This tests also file monitor libraries inotify and inotifywatch. |
| @@ -317,7 +315,7 @@ test-all-inotify: | |||
| 317 | - if: '$CI_PIPELINE_SOURCE == "schedule"' | 315 | - if: '$CI_PIPELINE_SOURCE == "schedule"' |
| 318 | variables: | 316 | variables: |
| 319 | target: emacs-inotify | 317 | target: emacs-inotify |
| 320 | make_params: check-expensive EXCLUDE_TESTS=%emacs-module-tests.el | 318 | make_params: check-expensive |
| 321 | # Two hours. | 319 | # Two hours. |
| 322 | EMACS_TEST_TIMEOUT: 7200 | 320 | EMACS_TEST_TIMEOUT: 7200 |
| 323 | 321 | ||
diff --git a/test/src/emacs-module-tests.el b/test/src/emacs-module-tests.el index 442bca5facb..988b311f5b5 100644 --- a/test/src/emacs-module-tests.el +++ b/test/src/emacs-module-tests.el | |||
| @@ -247,6 +247,7 @@ must evaluate to a regular expression string." | |||
| 247 | 247 | ||
| 248 | (ert-deftest module--test-assertions--load-non-live-object () | 248 | (ert-deftest module--test-assertions--load-non-live-object () |
| 249 | "Check that -module-assertions verify that non-live objects aren't accessed." | 249 | "Check that -module-assertions verify that non-live objects aren't accessed." |
| 250 | :tags (if (getenv "EMACS_EMBA_CI") '(:unstable)) | ||
| 250 | (skip-unless (or (file-executable-p mod-test-emacs) | 251 | (skip-unless (or (file-executable-p mod-test-emacs) |
| 251 | (and (eq system-type 'windows-nt) | 252 | (and (eq system-type 'windows-nt) |
| 252 | (file-executable-p (concat mod-test-emacs ".exe"))))) | 253 | (file-executable-p (concat mod-test-emacs ".exe"))))) |
| @@ -265,6 +266,7 @@ must evaluate to a regular expression string." | |||
| 265 | This differs from `module--test-assertions-load-non-live-object' | 266 | This differs from `module--test-assertions-load-non-live-object' |
| 266 | in that it stows away a global reference. The module assertions | 267 | in that it stows away a global reference. The module assertions |
| 267 | should nevertheless detect the invalid load." | 268 | should nevertheless detect the invalid load." |
| 269 | :tags (if (getenv "EMACS_EMBA_CI") '(:unstable)) | ||
| 268 | (skip-unless (or (file-executable-p mod-test-emacs) | 270 | (skip-unless (or (file-executable-p mod-test-emacs) |
| 269 | (and (eq system-type 'windows-nt) | 271 | (and (eq system-type 'windows-nt) |
| 270 | (file-executable-p (concat mod-test-emacs ".exe"))))) | 272 | (file-executable-p (concat mod-test-emacs ".exe"))))) |
| @@ -281,6 +283,7 @@ should nevertheless detect the invalid load." | |||
| 281 | (ert-deftest module--test-assertions--call-emacs-from-gc () | 283 | (ert-deftest module--test-assertions--call-emacs-from-gc () |
| 282 | "Check that -module-assertions prevents calling Emacs functions | 284 | "Check that -module-assertions prevents calling Emacs functions |
| 283 | during garbage collection." | 285 | during garbage collection." |
| 286 | :tags (if (getenv "EMACS_EMBA_CI") '(:unstable)) | ||
| 284 | (skip-unless (or (file-executable-p mod-test-emacs) | 287 | (skip-unless (or (file-executable-p mod-test-emacs) |
| 285 | (and (eq system-type 'windows-nt) | 288 | (and (eq system-type 'windows-nt) |
| 286 | (file-executable-p (concat mod-test-emacs ".exe"))))) | 289 | (file-executable-p (concat mod-test-emacs ".exe"))))) |
| @@ -292,7 +295,8 @@ during garbage collection." | |||
| 292 | (ert-deftest module--test-assertions--globref-invalid-free () | 295 | (ert-deftest module--test-assertions--globref-invalid-free () |
| 293 | "Check that -module-assertions detects invalid freeing of a | 296 | "Check that -module-assertions detects invalid freeing of a |
| 294 | local reference." | 297 | local reference." |
| 295 | (skip-unless (or (file-executable-p mod-test-emacs) | 298 | :tags (if (getenv "EMACS_EMBA_CI") '(:unstable)) |
| 299 | (skip-unless (or (file-executable-p mod-test-emacs) | ||
| 296 | (and (eq system-type 'windows-nt) | 300 | (and (eq system-type 'windows-nt) |
| 297 | (file-executable-p (concat mod-test-emacs ".exe"))))) | 301 | (file-executable-p (concat mod-test-emacs ".exe"))))) |
| 298 | (module--test-assertion | 302 | (module--test-assertion |