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: {
291291 },
292292
293293 .{
294 .target = std.Target.Query.parse(.{
295 .arch_os_abi = "arm-linux-eabi",
296 .cpu_features = "generic+v8a",
297 }) catch unreachable,
294 .target = .{
295 .cpu_arch = .arm,
296 .os_tag = .linux,
297 .abi = .eabi,
298 },
298299 },
299300 .{
300 .target = std.Target.Query.parse(.{
301 .arch_os_abi = "arm-linux-eabihf",
302 .cpu_features = "generic+v8a",
303 }) catch unreachable,
301 .target = .{
302 .cpu_arch = .arm,
303 .os_tag = .linux,
304 .abi = .eabihf,
305 },
304306 },
305307 .{
306 .target = std.Target.Query.parse(.{
307 .arch_os_abi = "arm-linux-musleabi",
308 .cpu_features = "generic+v8a",
309 }) catch unreachable,
308 .target = .{
309 .cpu_arch = .arm,
310 .os_tag = .linux,
311 .abi = .musleabi,
312 },
310313 .link_libc = true,
311314 },
312315 .{
313 .target = std.Target.Query.parse(.{
314 .arch_os_abi = "arm-linux-musleabihf",
315 .cpu_features = "generic+v8a",
316 }) catch unreachable,
316 .target = .{
317 .cpu_arch = .arm,
318 .os_tag = .linux,
319 .abi = .musleabihf,
320 },
317321 .link_libc = true,
318322 },
319323 .{
320 .target = std.Target.Query.parse(.{
321 .arch_os_abi = "arm-linux-gnueabi",
322 .cpu_features = "generic+v8a",
323 }) catch unreachable,
324 .target = .{
325 .cpu_arch = .arm,
326 .os_tag = .linux,
327 .abi = .gnueabi,
328 },
324329 .link_libc = true,
325330 },
326331 .{
327 .target = std.Target.Query.parse(.{
328 .arch_os_abi = "arm-linux-gnueabihf",
329 .cpu_features = "generic+v8a",
330 }) catch unreachable,
332 .target = .{
333 .cpu_arch = .arm,
334 .os_tag = .linux,
335 .abi = .gnueabihf,
336 },
331337 .link_libc = true,
332338 },
333339