diff options
| author | ruki <[email protected]> | 2026-01-30 23:31:52 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-01-30 23:31:52 +0800 |
| commit | d309d7832a6b079d81c10f2f6449081a1d7881d2 (patch) | |
| tree | aba2c0591c0285709eede0e6adf4f5a68b066674 /tests/modules/binutils/test.lua | |
| parent | 42dd40e5e0c0689027ea4d8f053bbcb0697fcf21 (diff) | |
ignore ape format
Diffstat (limited to 'tests/modules/binutils/test.lua')
| -rw-r--r-- | tests/modules/binutils/test.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/modules/binutils/test.lua b/tests/modules/binutils/test.lua index b9c50b190..bbb466144 100644 --- a/tests/modules/binutils/test.lua +++ b/tests/modules/binutils/test.lua @@ -34,7 +34,10 @@ function test_format(t) elseif is_host("macosx", "iphoneos", "watchos", "appletvos") then expected = "macho" end - t:are_equal(binutils.format(programfile), expected) + local format = binutils.format(programfile) + if format ~= "ape" then + t:are_equal(format, expected) + end end local ar = path.join(tempdir, "a.a") |
