From 9f59c260114f3203cbc146da4b31771561707c57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Thu, 1 Aug 2024 23:30:46 +0300 Subject: [PATCH] test: Fix the test-scan-deps test for arm64ec Add a separate arm64ec arch case, skip the x86_64 one. --- test/test-scan-deps.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/test-scan-deps.cpp b/test/test-scan-deps.cpp index 46b1823..350d148 100644 --- a/test/test-scan-deps.cpp +++ b/test/test-scan-deps.cpp @@ -20,7 +20,7 @@ #include // Test that we have set the expected architecture defines. -#if defined(__x86_64__) +#if defined(__x86_64__) && !defined(__arm64ec__) #ifndef EXPECT_x86_64 #include #endif @@ -36,4 +36,8 @@ #ifndef EXPECT_armv7 #include #endif +#elif defined(__arm64ec__) +#ifndef EXPECT_arm64ec +#include +#endif #endif