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]