Git Product home page Git Product logo

Comments (5)

gopherbot avatar gopherbot commented on August 25, 2024

Comment 1 by rufius:

I have reproduced this as well on Mac OS X (10.6.2). More information below...
*What steps will reproduce the problem?*
1. Checkout the source, set the environment vars properly.
2. Browse to src/ dir.
3. Run ./all.bash
*What is the expected output? What do you see instead?*
gopack grc _test/json.a _gotest_.6 
PASS
cd log && make test
gotest
rm -f _test/log.a _gotest_.6
6g -o _gotest_.6 log.go    log_test.go
rm -f _test/log.a
gopack grc _test/log.a _gotest_.6 
--- FAIL: log.TestAllLog
        log output should match "^/[A-Za-z0-9_/\\-]+\\.go:[0-9]+: hello 23 world$" is
"/Users/zbrown/Code/go.hg/src/pkg/log/log_test.go:60: hello 23 world"
        log output should match "^/[A-Za-z0-9_/\\-]+\\.go:[0-9]+: hello 23 world$" is
"/Users/zbrown/Code/go.hg/src/pkg/log/log_test.go:58: hello 23 world"
        log output should match "^XXX[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9]
[0-9][0-9]:[0-9][0-9]:[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9]
/[A-Za-z0-9_/\\-]+\\.go:[0-9]+: hello 23 world$" is "XXX2009/11/11 05:51:11.745999
/Users/zbrown/Code/go.hg/src/pkg/log/log_test.go:60: hello 23 world"
        log output should match "^XXX[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9]
[0-9][0-9]:[0-9][0-9]:[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9]
/[A-Za-z0-9_/\\-]+\\.go:[0-9]+: hello 23 world$" is "XXX2009/11/11 05:51:11.746300
/Users/zbrown/Code/go.hg/src/pkg/log/log_test.go:58: hello 23 world"
FAIL
make[1]: *** [test] Error 1
make: *** [log.test] Error 2
*What is your $GOOS?  $GOARCH?*
darwin/amd64
*Which revision are you sync'ed to?  (hg log -l 1)*
changeset:   3977:a522a4541e0e
tag:         tip
user:        Russ Cox <[email protected]>
date:        Tue Nov 10 23:42:21 2009 -0800
summary:     lib9: rip out platform specific code that breaks on pclinuxos

from go.

gopherbot avatar gopherbot commented on August 25, 2024

Comment 2 by [email protected]:

I'm also seeing the same thing on OS X 10.6.1.  The only thing I can think of that would
make my system 
different from a vanilla system is having /opt/local in the $PATH for macports.

from go.

gopherbot avatar gopherbot commented on August 25, 2024

Comment 3 by [email protected]:

I believe that in my case it's because I have my $GOROOT set to a directory with a "."
in the name: go.hg.  I will 
change it for now but it would be nice if this were fixed.

from go.

rsc avatar rsc commented on August 25, 2024

Comment 4:

It is because of the dot in the directory name.

Owner changed to [email protected].

Status changed to Started.

from go.

rsc avatar rsc commented on August 25, 2024

Comment 5:

This issue was closed by revision 8515a9f.

Status changed to Fixed.

Merged into issue #-.

from go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.