From 752fa1e4af0e1b62c19d2ac37ab2e9a80ca8d034 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sat, 10 May 2014 02:33:44 +0300 Subject: [PATCH] Run Vala tests as part of the test suite. --- run_tests.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/run_tests.py b/run_tests.py index 83c79bbbb..a68b93c19 100755 --- a/run_tests.py +++ b/run_tests.py @@ -184,6 +184,10 @@ def run_tests(): javatests = gather_tests('test cases/java') else: javatests = [] + if shutil.which('valac'): + valatests = gather_tests('test cases/vala') + else: + valatests = [] if not environment.is_windows(): objctests = gather_tests('test cases/objc') else: @@ -218,6 +222,9 @@ def run_tests(): if len(javatests) > 0: print('\nRunning java tests.\n') [run_and_log(logfile, t) for t in javatests] + if len(valatests) > 0: + print('\nRunning Vala tests.\n') + [run_and_log(logfile, t) for t in valatests] if len(objctests) > 0: print('\nRunning extra language tests.\n') [run_and_log(logfile, t) for t in objctests]