summaryrefslogtreecommitdiffstats
path: root/tests/meson.build
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2023-03-11 20:26:55 +1100
committerAnastasia Klimchuk <aklm@chromium.org>2023-03-16 22:39:38 +0000
commit028099dbfd92e62eb0c6227d1194ff714f55e67c (patch)
tree5843a94251f60bb59f15ab3f93a319432c2ac3ff /tests/meson.build
parent9fea866ad15748809ff0c75bc591349a31a8b6f4 (diff)
downloadflashrom-028099dbfd92e62eb0c6227d1194ff714f55e67c.tar.gz
flashrom-028099dbfd92e62eb0c6227d1194ff714f55e67c.tar.bz2
flashrom-028099dbfd92e62eb0c6227d1194ff714f55e67c.zip
tests: Add wrap for __fstat50 to fix tests for NetBSD
Tested by running unit tests on NetBSD 9.2 Ubuntu 22.04.1 (still pass) Change-Id: Icb8e453328cb40ab9d628f01ecdc3886a233dad5 Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/73649 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Tested-by: Thomas Heijligen <src@posteo.de> Reviewed-by: Thomas Heijligen <src@posteo.de> Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Diffstat (limited to 'tests/meson.build')
-rw-r--r--tests/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 2de4ee8aa..df866d732 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -60,6 +60,7 @@ mocks = [
'-Wl,--wrap=__xstat64',
'-Wl,--wrap=fstat',
'-Wl,--wrap=fstat64',
+ '-Wl,--wrap=__fstat50',
'-Wl,--wrap=__fxstat',
'-Wl,--wrap=__fxstat64',
'-Wl,--wrap=fileno',