From 50ddf03ada3cc167f7dcb6b26f82adb20162f983 Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Wed, 13 Apr 2016 13:31:04 +0100 Subject: 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 --- SConstruct | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index ef71ab69c3..e2e49fcc6c 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 # -- cgit v1.2.3