def generate_go_test(target, source, env):
 (go, go_home) = (env['GOCMD'], env['GOHOME'])
 cmd = ('GOPATH=%s %s test -c -o %s %s' % (go_home, go, target[0], env['GOPACKAGE']))
 return echospawn(args=[cmd], env=os.environ, sh=None, cmd=None, escape=None)

def generate_go_test ( target , source , env ) : ( go , go_home ) = ( env [ 'GOCMD' ] , env [ 'GOHOME' ] ) cmd = ( 'GOPATH=%s %s test -c -o %s %s' % ( go_home , go , target [ 0 ] , env [ 'GOPACKAGE' ] ) ) return echospawn ( args = [ cmd ] , env = os . environ , sh = None , cmd = None , escape = None )
generate go test binary .