~ubuntu-branches/ubuntu/vivid/golang/vivid

« back to all changes in this revision

Viewing changes to src/run.rc

  • Committer: Package Import Robot
  • Author(s): Serge Hallyn
  • Date: 2014-11-18 15:12:26 UTC
  • mfrom: (14.2.12 vivid-proposed)
  • Revision ID: package-import@ubuntu.com-20141118151226-zug7vn93mn3dtiz3
Tags: 2:1.3.2-1ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - 016-armhf-elf-header.patch: Use correct ELF header for armhf binaries.
  - Support co-installability with gccgo-go tool:
    - d/rules,golang-go.install: Rename bin/go -> bin/golang-go
    - d/golang-go.{postinst,prerm}: Install/remove /usr/bin/go using
      alternatives.
  - d/copyright: Amendments for full compiliance with copyright format.
  - d/control: Demote golang-go.tools to Suggests to support Ubuntu MIR.
  - dropped patches (now upstream):
    - d/p/issue27650045_40001_50001.diff
    - d/p/issue28050043_60001_70001.diff
    - d/p/issue54790044_100001_110001.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
eval `{go env}
9
9
 
10
 
GOPATH = () # we disallow local import for non-local packges, if $GOROOT happens
 
10
GOPATH = () # we disallow local import for non-local packages, if $GOROOT happens
11
11
            # to be under $GOPATH, then some tests below will fail
12
12
 
13
13
# allow all.rc to avoid double-build of everything
32
32
time go test std -short -timeout 120s
33
33
echo
34
34
 
 
35
# We set GOMAXPROCS=2 in addition to -cpu=1,2,4 in order to test runtime bootstrap code,
 
36
# creation of first goroutines and first garbage collections in the parallel setting.
35
37
echo '# GOMAXPROCS=2 runtime -cpu=1,2,4'
36
38
GOMAXPROCS=2 go test runtime -short -timeout 240s -cpu 1,2,4
37
39
echo
47
49
}
48
50
 
49
51
echo
50
 
echo '#' ../misc/goplay
51
 
go build ../misc/gplay
52
 
 
53
 
echo
54
52
echo '#' ../test/bench/go1
55
53
go test ../test/bench/go1
56
54