aboutsummaryrefslogtreecommitdiff
path: root/nexgb/Makefile
diff options
context:
space:
mode:
authorAndrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu>2012-05-07 01:00:45 -0400
committerAndrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu>2012-05-07 01:00:45 -0400
commitfd30f1512a713ae5b3cbacddfe9f29dfccc82047 (patch)
tree5801b9fe74106d9780efa23cd1b2c238ba5ffad9 /nexgb/Makefile
parent6d545e723a7e972998a0e77adcf2219a31a9b800 (diff)
downloadhaven-fd30f1512a713ae5b3cbacddfe9f29dfccc82047.tar.gz
haven-fd30f1512a713ae5b3cbacddfe9f29dfccc82047.tar.xz
haven-fd30f1512a713ae5b3cbacddfe9f29dfccc82047.zip
added tests
Diffstat (limited to 'nexgb/Makefile')
-rw-r--r--nexgb/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/nexgb/Makefile b/nexgb/Makefile
index b1ef0ca..c70b01c 100644
--- a/nexgb/Makefile
+++ b/nexgb/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
+