added tests

This commit is contained in:
Andrew Gallant (Ocelot)
2012-05-07 01:00:45 -04:00
parent 6d545e723a
commit fd30f1512a
33 changed files with 1264 additions and 264 deletions

View File

@@ -14,3 +14,9 @@ all: bigreq.xml composite.xml damage.xml dpms.xml dri2.xml \
%.xml:
xgbgen/xgbgen --proto-path $(XPROTO) $(XPROTO)/$*.xml > auto_$*.go
test:
go test
bench:
go test -run 'nomatch' -bench '.*' -cpu 1,2,6