Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failures on s390x #352

Closed
eclipseo opened this issue Jul 3, 2019 · 2 comments
Closed

Test failures on s390x #352

eclipseo opened this issue Jul 3, 2019 · 2 comments

Comments

@eclipseo
Copy link
Contributor

eclipseo commented Jul 3, 2019

Test fails on s390x with Golang 1.12.6:

Testing    in: /builddir/build/BUILD/otto-15f95af6e78dcd2030d8195a138bd88d4f403546/_build/src
         PATH: /builddir/build/BUILD/otto-15f95af6e78dcd2030d8195a138bd88d4f403546/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
       GOPATH: /builddir/build/BUILD/otto-15f95af6e78dcd2030d8195a138bd88d4f403546/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags "-X github.com/robertkrimen/otto/version.commit=15f95af6e78dcd2030d8195a138bd88d4f403546 -X github.com/robertkrimen/otto/version=0 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '"
      testing: github.com/robertkrimen/otto
github.com/robertkrimen/otto
~~~ FAIL: (Terst)
	math_test.go:107: 
		FAIL (==)
		     got: +Inf (float64)
		expected: -Inf (float64)
--- FAIL: TestMath_atan2 (0.00s)
~~~ FAIL: (Terst)
	runtime_test.go:594: 
		FAIL (==)
		     got: 1073741823 (int32)
		expected: -1073741824 (int)
--- FAIL: TestBinaryShiftOperation (0.00s)
FAIL
exit status 1
FAIL	github.com/robertkrimen/otto	1.748s
@stevenh
Copy link
Collaborator

stevenh commented Nov 27, 2022

32bit machine?

@stevenh
Copy link
Collaborator

stevenh commented Nov 30, 2022

This should be fixed by #474 if not please let me know.

@stevenh stevenh closed this as completed Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants