11package vmjsonintegrationtest
22
33import (
4+ "runtime"
45 "testing"
56
67 "github.com/multiversx/mx-chain-vm-go/executor"
@@ -9,20 +10,32 @@ import (
910)
1011
1112func TestCErc20Executors_TwiceW1ThenTwiceW2 (t * testing.T ) {
13+ if runtime .GOARCH == "arm64" {
14+ t .Skip ("skipping test on arm64" )
15+ }
16+
1217 testCERC20WithExecutorFactory (t , wasmer .ExecutorFactory ())
1318 testCERC20WithExecutorFactory (t , wasmer .ExecutorFactory ())
1419 testCERC20WithExecutorFactory (t , wasmer2 .ExecutorFactory ())
1520 testCERC20WithExecutorFactory (t , wasmer2 .ExecutorFactory ())
1621}
1722
1823func TestCErc20Executors_W1W2W1W2 (t * testing.T ) {
24+ if runtime .GOARCH == "arm64" {
25+ t .Skip ("skipping test on arm64" )
26+ }
27+
1928 testCERC20WithExecutorFactory (t , wasmer .ExecutorFactory ())
2029 testCERC20WithExecutorFactory (t , wasmer2 .ExecutorFactory ())
2130 testCERC20WithExecutorFactory (t , wasmer .ExecutorFactory ())
2231 testCERC20WithExecutorFactory (t , wasmer2 .ExecutorFactory ())
2332}
2433
2534func TestCErc20Executors_W1W2W2W1W2 (t * testing.T ) {
35+ if runtime .GOARCH == "arm64" {
36+ t .Skip ("skipping test on arm64" )
37+ }
38+
2639 testCERC20WithExecutorFactory (t , wasmer .ExecutorFactory ())
2740 testCERC20WithExecutorFactory (t , wasmer2 .ExecutorFactory ())
2841 testCERC20WithExecutorFactory (t , wasmer2 .ExecutorFactory ())
@@ -31,12 +44,20 @@ func TestCErc20Executors_W1W2W2W1W2(t *testing.T) {
3144}
3245
3346func TestCErc20Executors_W2W1W2 (t * testing.T ) {
47+ if runtime .GOARCH == "arm64" {
48+ t .Skip ("skipping test on arm64" )
49+ }
50+
3451 testCERC20WithExecutorFactory (t , wasmer2 .ExecutorFactory ())
3552 testCERC20WithExecutorFactory (t , wasmer .ExecutorFactory ())
3653 testCERC20WithExecutorFactory (t , wasmer2 .ExecutorFactory ())
3754}
3855
3956func TestCErc20Executors_W2W2W1W2 (t * testing.T ) {
57+ if runtime .GOARCH == "arm64" {
58+ t .Skip ("skipping test on arm64" )
59+ }
60+
4061 testCERC20WithExecutorFactory (t , wasmer2 .ExecutorFactory ())
4162 testCERC20WithExecutorFactory (t , wasmer2 .ExecutorFactory ())
4263 testCERC20WithExecutorFactory (t , wasmer .ExecutorFactory ())
0 commit comments