mirror of
https://github.com/systemd/systemd.git
synced 2025-03-10 16:58:28 +03:00
tests: skip test-execute on TravisCI under ASan
Unfortunately, f5f9a580dd4a3cf487b didn't help much and now the next subtest gets stuck from time to time. Let's skip test-execute altogether so as not to bother anybody with spurious failures. https://github.com/systemd/systemd/issues/10696 is still open. Everybody is welcome to share ideas :-)
This commit is contained in:
parent
b24546706e
commit
176ceb2c47
@ -616,13 +616,6 @@ static void test_exec_ambientcapabilities(Manager *m) {
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef __SANITIZE_ADDRESS__
|
||||
if (is_run_on_travis_ci()) {
|
||||
log_notice("Skipping %s, see https://github.com/systemd/systemd/issues/10696", __func__);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
test(m, "exec-ambientcapabilities.service", 0, CLD_EXITED);
|
||||
test(m, "exec-ambientcapabilities-merge.service", 0, CLD_EXITED);
|
||||
|
||||
@ -766,6 +759,13 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
test_setup_logging(LOG_DEBUG);
|
||||
|
||||
#ifdef __SANITIZE_ADDRESS__
|
||||
if (is_run_on_travis_ci()) {
|
||||
log_notice("Running on TravisCI under ASan, skipping, see https://github.com/systemd/systemd/issues/10696");
|
||||
return EXIT_TEST_SKIP;
|
||||
}
|
||||
#endif
|
||||
|
||||
(void) unsetenv("USER");
|
||||
(void) unsetenv("LOGNAME");
|
||||
(void) unsetenv("SHELL");
|
||||
|
Loading…
x
Reference in New Issue
Block a user