devsisters / goquic

QUIC support for Go
http://devsisters.github.io/goquic/
BSD 3-Clause "New" or "Revised" License
944 stars 100 forks source link

-test.* options in reverse_proxy's help #15

Closed l2dy closed 8 years ago

l2dy commented 8 years ago
  -test.bench string
        regular expression to select benchmarks to run
  -test.benchmem
        print memory allocations for benchmarks
  -test.benchtime duration
        approximate run time for each benchmark (default 1s)
  -test.blockprofile string
        write a goroutine blocking profile to the named file after execution
  -test.blockprofilerate int
        if >= 0, calls runtime.SetBlockProfileRate() (default 1)
  -test.count n
        run tests and benchmarks n times (default 1)
  -test.coverprofile string
        write a coverage profile to the named file after execution
  -test.cpu string
        comma-separated list of number of CPUs to use for each test
  -test.cpuprofile string
        write a cpu profile to the named file during execution
  -test.memprofile string
        write a memory profile to the named file after execution
  -test.memprofilerate int
        if >=0, sets runtime.MemProfileRate
  -test.outputdir string
        directory in which to write profiles
  -test.parallel int
        maximum test parallelism (default 6)
  -test.run string
        regular expression to select tests and examples to run
  -test.short
        run smaller test suite to save time
  -test.timeout duration
        if positive, sets an aggregate time limit for all tests
  -test.trace string
        write an execution trace to the named file after execution
  -test.v
        verbose: print additional output
l2dy commented 8 years ago

Any idea where these came from?

hodduc commented 8 years ago

It came from oleiade/lane (https://github.com/oleiade/lane/blob/master/test_helpers.go), which imports "testing".

l2dy commented 8 years ago

What will you do about it? You may close this issue if this won't be fixed.

serialx commented 8 years ago

I'll try to resolve this issue by taking the needed data structure source to our package. It's MIT license so I think it'll be compatible. I don't have time right now, so if you are up to it, pull request is always welcome. :)

l2dy commented 8 years ago

Go 1.5 introduced experimental support for vendoring, enabled by setting the GO15VENDOREXPERIMENT environment variable to 1. Go 1.6 keeps the vendoring support, no longer considered experimental, and enables it by default.

You can put that repo into the vendor directory and remove the test files if you don't have much time.