2016-07-10 12:58:43 +00:00
|
|
|
package torrent
|
|
|
|
|
|
|
|
import (
|
2017-09-18 02:14:16 +00:00
|
|
|
"log"
|
2016-07-10 12:58:43 +00:00
|
|
|
"os"
|
|
|
|
"testing"
|
2020-02-21 01:58:47 +00:00
|
|
|
|
|
|
|
_ "github.com/anacrolix/envpprof"
|
2016-07-10 12:58:43 +00:00
|
|
|
)
|
|
|
|
|
2017-09-18 02:14:16 +00:00
|
|
|
func init() {
|
2018-02-11 04:14:31 +00:00
|
|
|
log.SetFlags(log.LstdFlags | log.Lshortfile)
|
2017-11-07 05:00:08 +00:00
|
|
|
}
|
|
|
|
|
2016-07-10 12:58:43 +00:00
|
|
|
func TestMain(m *testing.M) {
|
|
|
|
code := m.Run()
|
|
|
|
// select {}
|
|
|
|
os.Exit(code)
|
|
|
|
}
|