Skip to content

Tests fail on ppc64 #15

@eclipseo

Description

@eclipseo

While building on Fedora Rawhide on ppc64le, numcpus doesn't seem to work properly:

Testing    in: /builddir/build/BUILD/numcpus-0.2.3/_build/src
         PATH: /builddir/build/BUILD/numcpus-0.2.3/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
       GOPATH: /builddir/build/BUILD/numcpus-0.2.3/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags " -X github.com/tklauser/numcpus/version=0.2.3 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld  '"
      testing: github.com/tklauser/numcpus
github.com/tklauser/numcpus
--- FAIL: TestGetPresent (0.00s)
    numcpus_test.go:103: Present = 8
    numcpus_test.go:105: GetPresent returned 8, want 40 (getconf _NPROCESSORS_CONF)
FAIL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions