]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: skip test-execute on GH Actions under ASan
authorFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 12 Jan 2021 21:14:59 +0000 (22:14 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 13 Jan 2021 20:59:48 +0000 (21:59 +0100)
It seems to suffer from the same issue as on Travis CI, where the test
randomly fails due to timeouts in its subtests.

See: https://github.com/systemd/systemd/issues/10696#issuecomment-758501797

src/test/test-execute.c

index 1890cc4f75261b0ad97838a37e90954e39064efe..83816f474c5a070d5ae3ed00aa06121129fbd01d 100644 (file)
@@ -897,8 +897,8 @@ int main(int argc, char *argv[]) {
         test_setup_logging(LOG_DEBUG);
 
 #if HAS_FEATURE_ADDRESS_SANITIZER
-        if (strstr_ptr(ci_environment(), "travis")) {
-                log_notice("Running on TravisCI under ASan, skipping, see https://github.com/systemd/systemd/issues/10696");
+        if (strstr_ptr(ci_environment(), "travis") || strstr_ptr(ci_environment(), "github-actions")) {
+                log_notice("Running on Travis CI/GH Actions under ASan, skipping, see https://github.com/systemd/systemd/issues/10696");
                 return EXIT_TEST_SKIP;
         }
 #endif