aboutsummaryrefslogtreecommitdiff
path: root/src/make.bash
diff options
context:
space:
mode:
authorerifan01 <eric.fang@arm.com>2023-06-07 14:49:00 +0800
committerEric Fang <eric.fang@arm.com>2023-07-24 01:13:17 +0000
commitb02725a8897ec46e26b99e3be9b9805021c77064 (patch)
treef1aaf0b30caf0570d2983bc489802220b195190e /src/make.bash
parent02482a546fd7d626427ce336a4622b90d82c14d1 (diff)
downloadgo-b02725a8897ec46e26b99e3be9b9805021c77064.tar.xz
cmd/asm: initialize assembler before running error tests
The Test{ARCH}Errors tests will call ctxt.Arch.Assemble, but this function requires the assembler has been initialized. So this CL adds a call to architecture.Init(ctxt) in testErrors, otherwise running Test{ARCH}Errors alone would fail. Change-Id: I4f3ba5a5fc1375d28779701989cf700cb4d1b635 Reviewed-on: https://go-review.googlesource.com/c/go/+/505976 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: David Chase <drchase@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Eric Fang <eric.fang@arm.com>
Diffstat (limited to 'src/make.bash')
0 files changed, 0 insertions, 0 deletions