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

Tests error on 32 bits arches #10

Open
eclipseo opened this issue Jun 25, 2019 · 1 comment
Open

Tests error on 32 bits arches #10

eclipseo opened this issue Jun 25, 2019 · 1 comment

Comments

@eclipseo
Copy link

Golang 1.12.6 on i686 and armv7

Testing    in: /builddir/build/BUILD/treeprint-a009c3971eca89777614839eb7f69abed3ea3959/_build/src
         PATH: /builddir/build/BUILD/treeprint-a009c3971eca89777614839eb7f69abed3ea3959/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
       GOPATH: /builddir/build/BUILD/treeprint-a009c3971eca89777614839eb7f69abed3ea3959/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags "-X github.com/xlab/treeprint/version.commit=a009c3971eca89777614839eb7f69abed3ea3959 -X github.com/xlab/treeprint/version=0 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '"
      testing: github.com/xlab/treeprint
github.com/xlab/treeprint
--- FAIL: TestFromStructTypeSize (0.00s)
    struct_test.go:115: 
        	Error Trace:	struct_test.go:115
        	Error:      	Not equal: 
        	            	expected: ".\n├── [16]  one\n├── [8]  two\n└── [72]  Three\n    ├── [24]  SubOne\n    ├── [24]  SubTwo\n    └── [24]  SubThree\n        └── [8]  inner_three\n"
        	            	actual  : ".\n├── [8]  one\n├── [4]  two\n└── [36]  Three\n    ├── [12]  SubOne\n    ├── [12]  SubTwo\n    └── [12]  SubThree\n        └── [8]  inner_three\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1,8 +1,8 @@
        	            	 .
        	            	-├── [16]  one
        	            	-├── [8]  two
        	            	-└── [72]  Three
        	            	-    ├── [24]  SubOne
        	            	-    ├── [24]  SubTwo
        	            	-    └── [24]  SubThree
        	            	+├── [8]  one
        	            	+├── [4]  two
        	            	+└── [36]  Three
        	            	+    ├── [12]  SubOne
        	            	+    ├── [12]  SubTwo
        	            	+    └── [12]  SubThree
        	            	         └── [8]  inner_three
        	Test:       	TestFromStructTypeSize
FAIL
exit status 1
FAIL	github.com/xlab/treeprint	0.009s
@xlab
Copy link
Owner

xlab commented Jun 26, 2019

le fu :)

I'll try to use something platform-independent here..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants