Skip to content

Commit 35bb2c8

Browse files
committed
Make ARM tests runnable with QEMU
The command here basically matches what the run_under_qemu_arm script (which can be seen at tools/trusted_cross_toolchains/qemu_tool_arm.sh) was doing.
1 parent 0eb0ca4 commit 35bb2c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SConstruct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2484,7 +2484,7 @@ def SetUpLinuxEnvArm(env):
24842484
jail = env.GetToolchainDir(toolchain_name='arm_trusted')
24852485
if not platform.machine().startswith('arm'):
24862486
# Allow emulation on non-ARM hosts.
2487-
env.Replace(EMULATOR=jail + '/run_under_qemu_arm')
2487+
env.Replace(EMULATOR='qemu-armhf -L /usr/arm-linux-gnueabihf/ -cpu cortex-a9')
24882488
if env.Bit('built_elsewhere'):
24892489
def FakeInstall(dest, source, env):
24902490
print('Not installing', dest)

0 commit comments

Comments
 (0)