mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
test: Demote once-test failure for meson to skip
Since this fails on CI (presumably due to pthread_setffinity_np() not being permitted, let's make this a soft failure.
This commit is contained in:
parent
17e471868e
commit
1699a78f5b
1 changed files with 3 additions and 1 deletions
|
|
@ -39,6 +39,8 @@
|
||||||
#include <pulsecore/atomic.h>
|
#include <pulsecore/atomic.h>
|
||||||
#include <pulse/xmalloc.h>
|
#include <pulse/xmalloc.h>
|
||||||
|
|
||||||
|
#define EXIT_FAILURE_SKIP 77
|
||||||
|
|
||||||
static pa_once once = PA_ONCE_INIT;
|
static pa_once once = PA_ONCE_INIT;
|
||||||
static volatile unsigned n_run = 0;
|
static volatile unsigned n_run = 0;
|
||||||
static const char * volatile ran_by = NULL;
|
static const char * volatile ran_by = NULL;
|
||||||
|
|
@ -139,5 +141,5 @@ int main(int argc, char *argv[]) {
|
||||||
failed = srunner_ntests_failed(sr);
|
failed = srunner_ntests_failed(sr);
|
||||||
srunner_free(sr);
|
srunner_free(sr);
|
||||||
|
|
||||||
return (failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
|
return (failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE_SKIP;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue