diff --git a/parser/ETSparser.cpp b/parser/ETSparser.cpp index 91849141c93f3d4750d86fd582e7d86b525cff01..ff1bdc683427cb11dcfbf05d32f094623616a406 100644 --- a/parser/ETSparser.cpp +++ b/parser/ETSparser.cpp @@ -103,7 +103,7 @@ #include "libpandabase/utils/json_parser.h" #include "generated/signatures.h" -#if defined PANDA_TARGET_MOBILE || defined PANDA_TARGET_ARM32 +#if defined PANDA_TARGET_MOBILE #define USE_UNIX_SYSCALL #endif diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 7ff515a7442842de081f43c7626b9e1a695e674b..02c7d59ec09a2ae85215c79c3d31de7379dd6609 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -11,7 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -# ignore for 32x processors because there is a problem with running on arm-gnu-eabi and arm-gnu-eabi-hf +# ignore ARM32 because some files (not gnueabi or gnueabihf) are incompatible with 32x processors # this will be fixed in the future if(PANDA_TARGET_ARM32 OR PANDA_ARM64_TESTS_WITH_SANITIZER) return() @@ -28,6 +28,13 @@ if(PANDA_WITH_ETS) endif() endif() + if(PANDA_TARGET_ARM32) + set(OPTIONS --test-list-arch=arm32 ${OPTIONS}) + if(PANDA_QEMU_BUILD) + set(OPTIONS --arm32-qemu ${OPTIONS}) + endif() + endif() + add_custom_target(es2panda-regression-tests DEPENDS ark es2panda verifier WORKING_DIRECTORY ${PANDA_ROOT}