Skip to content

Commit 9f59c26

Browse files
committed
test: Fix the test-scan-deps test for arm64ec
Add a separate arm64ec arch case, skip the x86_64 one.
1 parent 1b781e8 commit 9f59c26

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/test-scan-deps.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include <version>
2121

2222
// Test that we have set the expected architecture defines.
23-
#if defined(__x86_64__)
23+
#if defined(__x86_64__) && !defined(__arm64ec__)
2424
#ifndef EXPECT_x86_64
2525
#include <intentionally-missing-header>
2626
#endif
@@ -36,4 +36,8 @@
3636
#ifndef EXPECT_armv7
3737
#include <intentionally-missing-header>
3838
#endif
39+
#elif defined(__arm64ec__)
40+
#ifndef EXPECT_arm64ec
41+
#include <intentionally-missing-header>
42+
#endif
3943
#endif

0 commit comments

Comments
 (0)