Ensure that tests run as the last step of a build for 'make check'
authorSiarhei Siamashka <siarhei.siamashka@nokia.com>
Tue, 22 Feb 2011 17:28:08 +0000 (19:28 +0200)
committerSiarhei Siamashka <siarhei.siamashka@nokia.com>
Tue, 22 Feb 2011 17:43:57 +0000 (19:43 +0200)
Previously 'make check' would compile and run tests first, and only
then proceed to compiling demos. Which is not very convenient
because of the need to scroll back console output to see the
tests verdict. Swapping order of SUBDIRS variable entries in
Makefile.am resolves this.

Makefile.am

index 062c58a..f479a66 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS = pixman test demos
+SUBDIRS = pixman demos test
 
 pkgconfigdir=$(libdir)/pkgconfig
 pkgconfig_DATA=pixman-1.pc