Skip to content

test: "buildrundir", "builddir" directives leave untracked go_asm.h files #28781

Closed
@giuscri

Description

@giuscri

What version of Go are you using (go version)?

$ go version
go version devel +62b850f1c5 Tue Nov 13 18:11:58 2018 +0000 linux/amd64

Does this issue reproduce with the latest release?

I didn't test it with the latest release.

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/g/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/g/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/lib/go"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build188977799=/tmp/go-build -gno-record-gcc-switches"

What did you do?

$ git clone [email protected]:golang/go.git
$ cd go/src
$ ./all.bash

What did you expect to see?

$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

What did you see instead?

$ git status
On branch master
Your branch is up to date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)

	test/fixedbugs/issue22877.dir/go_asm.h
	test/retjmp.dir/go_asm.h

nothing added to commit but untracked files present (use "git add" to track)

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.TestingAn issue that has been verified to require only test changes, not just a test failure.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions