Skip to content

Commit 5ab871b

Browse files
bonzinijpakkane
authored andcommitted
tests: skip test common/223 in the -Ddefault_library=... jobs
It is impossible to detect the source of default_library=both from within the test, so add yet another knob... :( Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent e8e80aa commit 5ab871b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/os_comp.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,12 @@ jobs:
100100
- CC: 'gcc'
101101
CXX: 'g++'
102102
- MESON_ARGS: '--unity=on -Ddefault_library=static'
103+
MESON_TEST_DDEFAULT_LIBRARY: yes
103104
RUN_TESTS_ARGS: '--no-unittests'
104105
CC: 'gcc'
105106
CXX: 'g++'
106107
- MESON_ARGS: '-Ddefault_library=both'
108+
MESON_TEST_DDEFAULT_LIBRARY: yes
107109
RUN_TESTS_ARGS: '--no-unittests'
108110
CC: 'gcc'
109111
CXX: 'g++'
@@ -130,6 +132,7 @@ jobs:
130132
env:
131133
MESON_RSP_THRESHOLD: ${{ matrix.cfg.MESON_RSP_THRESHOLD }}
132134
MESON_ARGS: ${{ matrix.cfg.MESON_ARGS }}
135+
MESON_TEST_DDEFAULT_LIBRARY: ${{ matrix.cfg.MESON_TEST_DDEFAULT_LIBRARY }}
133136
RUN_TESTS_ARGS: ${{ matrix.cfg.RUN_TESTS_ARGS }}
134137
CC: ${{ matrix.cfg.CC }}
135138
CXX: ${{ matrix.cfg.CXX }}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"skip_on_env": ["MESON_TEST_DDEFAULT_LIBRARY"]
3+
}

0 commit comments

Comments
 (0)