From c57c027f7080f8459ac25d8bdb57c27b99440de8 Mon Sep 17 00:00:00 2001 From: Jeroen Ketema Date: Mon, 27 May 2024 14:16:40 +0200 Subject: [PATCH] C++: Make the padding test independent of the `predefined_macros` file The padding test is the only test that currently depends on the contents of the `predefined_macros` flile that we ship with CodeQL for use with the CodeQL tests. Explicitly specifying `__x86_64` makes the test independent of the contents of the file. --- cpp/ql/test/library-tests/padding/options | 1 + 1 file changed, 1 insertion(+) create mode 100644 cpp/ql/test/library-tests/padding/options diff --git a/cpp/ql/test/library-tests/padding/options b/cpp/ql/test/library-tests/padding/options new file mode 100644 index 00000000000..042f2a05dbf --- /dev/null +++ b/cpp/ql/test/library-tests/padding/options @@ -0,0 +1 @@ +semmle-extractor-options: -D__x86_64=1