tst_qv4assembler: Expect JIT to be disabled on HarmonyOS


jitEnabled() failed on HarmonyOS arm64 because the test expects the
qml-jit feature on every platform it does not explicitly list, while
configure.cmake does not enable it for OHOS.

Disabling the JIT on HarmonyOS is intended. HarmonyOS enforces code
signing on apps and only lets an app allocate writable and executable
anonymous memory, as needed for JIT compilation, if it has been
granted the restricted ohos.permission.kernel.ALLOW_WRITABLE_CODE_MEMORY
permission after AppGallery Connect review, see:
https://developer.huawei.com/consumer/en/doc/harmonyos-guides/restricted-permissions#ohospermissionkernelallow_writable_code_memory

When qml-jit was forced on for an experiment,
OSAllocator::canAllocateExecutableMemory() returned false on the
device, so the engine always used the interpreter and the JIT code
was never used.

Treat HarmonyOS like the other platforms where the JIT is disabled
and verify that qml-jit is off.

Task-number: QTBUG-151237
Task-number: QTBUG-146855
Pick-to: 6.12
Change-Id: I62b569b4dfc48e6e0cf58554d53901343172509a
Reviewed-by: Liang Qi <liang.qi@qt.io>
commita352f2a94714e5c7fba58473164f46e3a302ed7e
parent808db76fc3aa2a200434867ee865f4968e22a529
authorSukyoung Oh <sukyoung.oh@qt.io>
committerSukyoung Oh <sukyoung.oh@qt.io>
commit timeWed, 14 Oct 2026 02:30:42 +0000