gopkg.in/dedis/onet.v2@v2.0.0-20181115163211-c8f3724038a7/Makefile (about)

     1  all: test
     2  
     3  PKG_STABLE = gopkg.in/dedis/onet.v2
     4  include $(shell go env GOPATH)/src/github.com/dedis/Coding/bin/Makefile.base
     5  
     6  # You can use `test_playground` to run any test or part of cothority
     7  # for more than once in Travis. Change `make test` in .travis.yml
     8  # to `make test_playground`.
     9  test_playground:
    10  	for a in $$( seq 100 ); do \
    11  	  if DEBUG_TIME=true go test -v -race -short > log.txt 2>&1; then \
    12  		  echo Successfully ran at $$(date); \
    13  		else \
    14  		  echo Failed at $$(date); \
    15  			cat log.txt; \
    16  			exit 1; \
    17  		fi; \
    18  	done;