Index: acpica-unix-20140926/Makefile
===================================================================
--- acpica-unix-20140926.orig/Makefile
+++ acpica-unix-20140926/Makefile
@@ -20,3 +20,25 @@ else
 	include generate/unix/Makefile.config
 	include generate/unix/Makefile.common
 endif
+
+check:
+	# ASL tests
+	$(CURDIR)/tests/aslts.sh $(CURDIR)/tests/aslts $(CURDIR)/generate/unix
+
+	# API Tests
+	$(CURDIR)/debian/run-aapits.sh $(CURDIR)/tests/aapits $(CURDIR)/generate/unix/bin
+
+	# misc tests
+	$(CURDIR)/debian/run-misc-tests.sh $(CURDIR) 20140926
+
+	# Template tests
+	cd $(CURDIR)/tests/templates
+	make
+	if [ -f diff.log ] ; \
+	then \
+		if [ -s diff.log ] ; \
+		then \
+			exit 1		# implies errors occurred ; \
+		fi ; \
+	fi
+
