Commit Graph

18 Commits

Author SHA1 Message Date
Russ Cox
869c3f4cd0 update golden.out.
fix bug in run that was missing output.
make run warn about tests in bugs/ that succeed with no output
	(should be moved to fixedbugs/).

R=r
DELTA=21  (18 added, 0 deleted, 3 changed)
OCL=19381
CL=19381
2008-11-17 12:44:22 -08:00
Ian Lance Taylor
07c54425c0 Remove useless "Trace/breakpoint trap" lines using the format
that is generated on Goobuntu.

R=r,rsc
DELTA=2  (1 added, 0 deleted, 1 changed)
OCL=18973
CL=18976
2008-11-11 10:01:51 -08:00
Russ Cox
fb40f88c40 test cleanup
- do not print tracebacks if $GOTRACEBACK=0
	- set GOTRACEBACK=0 during tests
	- filter out pc numbers in errors

R=r
DELTA=70  (22 added, 30 deleted, 18 changed)
OCL=15618
CL=15642
2008-09-22 13:47:53 -07:00
Ian Lance Taylor
66b261a082 Check for specific error messages in the testsuite. This
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
2008-09-19 14:39:49 -07:00
Russ Cox
46eb0f7b08 limit tests to 4GB of memory.
3G works on thresher, 2G does not

R=r
OCL=14956
CL=14958
2008-09-08 15:22:45 -07:00
Russ Cox
32556ef9e7 in golden.out, replace $RUNFILE with '$RUNFILE'
and replace pid with PID

R=r
DELTA=4  (2 added, 0 deleted, 2 changed)
OCL=14727
CL=14727
2008-09-02 14:26:59 -07:00
Rob Pike
3963fe3b32 fix a couple of tests that had shell errors
clean up the golden file a bit to have less meaningless content and be more robust to spurious diffs.
now there is output only for tests that produce output or failure.

R=gri
OCL=14005
CL=14005
2008-08-08 10:57:23 -07:00
Rob Pike
4ce3065e63 update golden
improve sieve test, and split into two versions

SVN=127077
2008-07-14 15:13:59 -07:00
Rob Pike
bf14ef61fc test cleanup
SVN=126120
2008-07-07 10:03:10 -07:00
Rob Pike
695e3938a0 add readfile test
update golden

SVN=125006
2008-06-26 17:08:39 -07:00
Rob Pike
316bc2637d default to amd64 in run
test/func.go now works; update golden.out

SVN=121617
2008-06-08 17:29:57 -07:00
Rob Pike
094ee44b32 check in the bugs and fixed bugs
SVN=121543
2008-06-06 16:56:18 -07:00
Robert Griesemer
2f538554f6 - fix to func.go
- extra empty line between test output

SVN=121499
2008-06-06 15:08:24 -07:00
Rob Pike
ab34d15f69 add ken's tests.
update run to work with multiple directories

SVN=121485
2008-06-06 14:27:34 -07:00
Rob Pike
17ee7818de print count of failing tests
SVN=121467
2008-06-06 13:38:16 -07:00
Rob Pike
aebf31ff5d remove 6.out in test/run. update golden file
SVN=121465
2008-06-06 13:32:59 -07:00
Rob Pike
126150d0f6 lots of new tests
SVN=121464
2008-06-06 13:28:03 -07:00
Rob Pike
27fb2abf76 first cut at test suite
SVN=121454
2008-06-06 12:57:00 -07:00