1. 16 Sep, 2010 1 commit
  2. 31 Aug, 2010 1 commit
    • Ian Lance Taylor's avatar
      test: gccgo and gc print the error on different lines. · 09977734
      Ian Lance Taylor authored
      This introduces GC_ERROR to mark an error only issued by the
      gc compiler.  GCCGO_ERROR already exists to mark errors only
      issued by the gccgo compiler.  Obviously these should be used
      sparingly.
      
      bug195.go:9: error: interface contains embedded non-interface
      bug195.go:12: error: interface contains embedded non-interface
      bug195.go:15: error: interface contains embedded non-interface
      bug195.go:18: error: invalid recursive interface
      bug195.go:22: error: invalid recursive interface
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/2040043
      09977734
  3. 20 Jun, 2010 1 commit
  4. 09 Oct, 2009 2 commits
  5. 22 Aug, 2009 1 commit
    • Ian Lance Taylor's avatar
      If the compiler dumps core, bash will print a useless error · f861c7f6
      Ian Lance Taylor authored
      message with the full path of the errchk script.  Catch that
      by wrapping the if statement which invokes the compiler in a
      subshell.  Use the $TMPOUT file as a flag to let the main
      shell know whether the subshell ran.  Since the compiler
      stdout and stderr are redirected, if the if statement produces
      any output, then the compiler crashed, and we report that.
      
      R=r,rsc
      DELTA=14  (11 added, 1 deleted, 2 changed)
      OCL=33690
      CL=33692
      f861c7f6
  6. 30 Jul, 2009 1 commit
    • Russ Cox's avatar
      use errchk in more places. · 34b277f0
      Russ Cox authored
      let errchk exit 0 even if it has reported a BUG.
      it echoed BUG and that's all that matters.
      
      R=r
      DELTA=143  (1 added, 89 deleted, 53 changed)
      OCL=32533
      CL=32542
      34b277f0
  7. 22 Jul, 2009 1 commit
    • Russ Cox's avatar
      do not echo command in errchk, · dbba4899
      Russ Cox authored
      so that golden.out does not include
      the name of the compiler (which is
      arch-specific and shows up in diffs).
      
      R=r,iant
      DELTA=3  (0 added, 0 deleted, 3 changed)
      OCL=31980
      CL=31983
      dbba4899
  8. 13 Mar, 2009 1 commit
  9. 30 Oct, 2008 1 commit
    • Russ Cox's avatar
      make sure errchk only prints BUG once. · eb5a316f
      Russ Cox authored
      using a variable is not sufficient, because
      sometimes bug() is called from a subshell.
      
      R=iant
      DELTA=7  (2 added, 1 deleted, 4 changed)
      OCL=18092
      CL=18145
      eb5a316f
  10. 17 Oct, 2008 1 commit
  11. 16 Oct, 2008 1 commit
  12. 25 Sep, 2008 1 commit
    • Ian Lance Taylor's avatar
      6g currently accepts setting a string value to an integer · b70d42f3
      Ian Lance Taylor authored
      constant without an explicit conversion.  I think that is a
      bug.  This adds a test case for it.
      
      Also, change errchk to include the string BUG in error
      messages, so that failures are included in the count reported
      by the run shell script.
      
      R=r,ken
      DELTA=11  (7 added, 0 deleted, 4 changed)
      OCL=15857
      CL=15880
      b70d42f3
  13. 19 Sep, 2008 1 commit
    • Ian Lance Taylor's avatar
      Check for specific error messages in the testsuite. This · 66b261a0
      Ian Lance Taylor authored
      permits testing that the compiler emits error messages for
      specific lines that match egrep regexps.  The desired error
      messages are expressed using comments of the form
      	// ERROR "regexp"
      
      R=r
      DELTA=90  (73 added, 8 deleted, 9 changed)
      OCL=15513
      CL=15566
      66b261a0