authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-28 21:42:34+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-09-10 08:53:30+02:00
log75983c692fad81120a7c641a54c2eb90bc467def
treeba1fb8cc8906aa9b02eb00ad7bcf1834a4b12ec4
parenta872b6102167f8588704877f8143d58f3386b78c
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

test: Switch all `arm-linux-*` triples for module tests from v8a to v7a.

Broadly speaking, versions 6, 7, and 8 are the ones that are in common use. Of these, v7 is what you'll typically see for 32-bit Arm today. So let's actually make sure that that's what we're testing.

1 files changed, 30 insertions(+), 24 deletions(-)

test/tests.zig+30-24
...@@ -291,43 +291,49 @@ const test_targets = blk: {...@@ -291,43 +291,49 @@ const test_targets = blk: {
291 },291 },
292292
293 .{293 .{
294 .target = std.Target.Query.parse(.{294 .target = .{
295 .arch_os_abi = "arm-linux-eabi",295 .cpu_arch = .arm,
296 .cpu_features = "generic+v8a",296 .os_tag = .linux,
297 }) catch unreachable,297 .abi = .eabi,
298 },
298 },299 },
299 .{300 .{
300 .target = std.Target.Query.parse(.{301 .target = .{
301 .arch_os_abi = "arm-linux-eabihf",302 .cpu_arch = .arm,
302 .cpu_features = "generic+v8a",303 .os_tag = .linux,
303 }) catch unreachable,304 .abi = .eabihf,
305 },
304 },306 },
305 .{307 .{
306 .target = std.Target.Query.parse(.{308 .target = .{
307 .arch_os_abi = "arm-linux-musleabi",309 .cpu_arch = .arm,
308 .cpu_features = "generic+v8a",310 .os_tag = .linux,
309 }) catch unreachable,311 .abi = .musleabi,
312 },
310 .link_libc = true,313 .link_libc = true,
311 },314 },
312 .{315 .{
313 .target = std.Target.Query.parse(.{316 .target = .{
314 .arch_os_abi = "arm-linux-musleabihf",317 .cpu_arch = .arm,
315 .cpu_features = "generic+v8a",318 .os_tag = .linux,
316 }) catch unreachable,319 .abi = .musleabihf,
320 },
317 .link_libc = true,321 .link_libc = true,
318 },322 },
319 .{323 .{
320 .target = std.Target.Query.parse(.{324 .target = .{
321 .arch_os_abi = "arm-linux-gnueabi",325 .cpu_arch = .arm,
322 .cpu_features = "generic+v8a",326 .os_tag = .linux,
323 }) catch unreachable,327 .abi = .gnueabi,
328 },
324 .link_libc = true,329 .link_libc = true,
325 },330 },
326 .{331 .{
327 .target = std.Target.Query.parse(.{332 .target = .{
328 .arch_os_abi = "arm-linux-gnueabihf",333 .cpu_arch = .arm,
329 .cpu_features = "generic+v8a",334 .os_tag = .linux,
330 }) catch unreachable,335 .abi = .gnueabihf,
336 },
331 .link_libc = true,337 .link_libc = true,
332 },338 },
333339