summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2016-04-13 13:31:04 +0100
committerJose Fonseca <jfonseca@vmware.com>2016-04-14 07:19:04 +0100
commit50ddf03ada3cc167f7dcb6b26f82adb20162f983 (patch)
tree4a81fcbb92eeb5cb1531fee7cb346d87d276189b /SConstruct
parent9ae0e8ee3cf5e422804dcecd248dc28bb5dc63dc (diff)
downloadmesa-50ddf03ada3cc167f7dcb6b26f82adb20162f983.tar.gz
mesa-50ddf03ada3cc167f7dcb6b26f82adb20162f983.tar.bz2
mesa-50ddf03ada3cc167f7dcb6b26f82adb20162f983.zip
scons: Add a "check" target to run all unit tests.
Except: - u_cache_test -- too long - translate_test -- unreliable (it's probably testing corner cases that translate module doesn't care about.) Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct5
1 files changed, 5 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index ef71ab69c38..e2e49fcc6ca 100644
--- a/SConstruct
+++ b/SConstruct
@@ -84,6 +84,11 @@ env.Append(CPPPATH = [
#print env.Dump()
+# Add a check target for running tests
+check = env.Alias('check')
+env.AlwaysBuild(check)
+
+
#######################################################################
# Invoke host SConscripts
#