Commit cc470a4
committed
fix(ci): guard PME boundary test behind SIGNET_ENABLE_COMMERCIAL
test_boundary_constants.cpp included signet/crypto/pme.hpp unconditionally,
which emits a hard #error outside the commercial tier. The CI Ubuntu /
Windows MSVC / UBSan / Mutation Testing jobs all build with the
non-commercial 'ci' preset and were failing with C1189 / #error.
Guarded the PME include, the pme namespace alias, and the §BV-09 PME
TEST_CASE behind #if defined(SIGNET_ENABLE_COMMERCIAL) && SIGNET_ENABLE_COMMERCIAL,
matching the pattern already used in test_interop.cpp and test_encryption.cpp.
Verified locally:
- non-commercial build: 13/13 boundary cases pass
- commercial build: 14/14 boundary cases pass (§BV-09 included)1 parent 15c490c commit cc470a4
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| 25 | + | |
23 | 26 | | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| |||
155 | 159 | | |
156 | 160 | | |
157 | 161 | | |
158 | | - | |
| 162 | + | |
159 | 163 | | |
160 | 164 | | |
| 165 | + | |
161 | 166 | | |
162 | 167 | | |
163 | 168 | | |
| |||
171 | 176 | | |
172 | 177 | | |
173 | 178 | | |
| 179 | + | |
174 | 180 | | |
175 | 181 | | |
176 | 182 | | |
| |||
0 commit comments