From 902f3ad5b8e759879141c3b77a44e3bfdaa298bb Mon Sep 17 00:00:00 2001 From: "Andrew Gallant (Ocelot)" Date: Mon, 7 May 2012 01:00:45 -0400 Subject: added tests --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b1ef0ca..c70b01c 100644 --- a/Makefile +++ b/Makefile @@ -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 + -- cgit v1.2.3