Merge pull request #33 from harshavardhana/pr_out_add_arch_flags

master
Harshavardhana 10 years ago
commit 3ecb0e82a1
  1. 11
      Makefile

@ -1,5 +1,6 @@
#GOPATH := $(CURDIR)/tmp/gopath #GOPATH := $(CURDIR)/tmp/gopath
MAKE_OPTIONS := -s MAKE_OPTIONS := -s
ARCH := $(shell uname -s)
all: getdeps install all: getdeps install
@ -14,11 +15,13 @@ build-utils:
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/cpu @godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/cpu
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/unitconv @godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/unitconv
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/split @godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/split
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/crypto/md5/ @godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/crypto/md5
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/crypto/sha1/ @godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/crypto/sha1
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/crypto/sha256/ @godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/crypto/sha256
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/crypto/sha512/ @godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/crypto/sha512
ifeq ($(ARCH), Linux)
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/checksum/crc32c @godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/checksum/crc32c
endif
#build-os: #build-os:
# @godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/os/scsi # @godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/os/scsi

Loading…
Cancel
Save