What CI jobs run tests when `REQUIRES: no_asserts` is specified?

i wanted to test that something would hit an assertion even in 'release' compiler builds. i thought the way to do this was to make a test that would trip the assertion, specify REQUIRES: no_asserts and then XFAIL: * in the test. however, after running the validation test suite on CI (@swift-ci test), my test appeared to be skipped as 'unsupported'. i see there are a small number of other tests with this setup, so i would expect something to be able to run them – does anyone know what that would be?

one side note is that my macos run did not make it to completion, so it's possible it would have eventually run the test. i did however see the test also skipped as 'unsupported' in that job before it eventually failed on something else.

There is at least one CI job which builds a toolchain without asserts: [main] 1. OSS - Swift (Tools Opt+No Assert, Stdlib Opt+DebInfo, Test Simulator) - macOS [Jenkins]. There may or may not be more, I didn't look too closely. You can also ask @swift-ci to build a specific preset from utils/build-presets.ini but I rarely do that so I don't recall how to do it exactly off the top of my head.

1 Like