|
|
@ -184,6 +184,10 @@ def run_tests(): |
|
|
|
javatests = gather_tests('test cases/java') |
|
|
|
javatests = gather_tests('test cases/java') |
|
|
|
else: |
|
|
|
else: |
|
|
|
javatests = [] |
|
|
|
javatests = [] |
|
|
|
|
|
|
|
if shutil.which('valac'): |
|
|
|
|
|
|
|
valatests = gather_tests('test cases/vala') |
|
|
|
|
|
|
|
else: |
|
|
|
|
|
|
|
valatests = [] |
|
|
|
if not environment.is_windows(): |
|
|
|
if not environment.is_windows(): |
|
|
|
objctests = gather_tests('test cases/objc') |
|
|
|
objctests = gather_tests('test cases/objc') |
|
|
|
else: |
|
|
|
else: |
|
|
@ -218,6 +222,9 @@ def run_tests(): |
|
|
|
if len(javatests) > 0: |
|
|
|
if len(javatests) > 0: |
|
|
|
print('\nRunning java tests.\n') |
|
|
|
print('\nRunning java tests.\n') |
|
|
|
[run_and_log(logfile, t) for t in javatests] |
|
|
|
[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: |
|
|
|
if len(objctests) > 0: |
|
|
|
print('\nRunning extra language tests.\n') |
|
|
|
print('\nRunning extra language tests.\n') |
|
|
|
[run_and_log(logfile, t) for t in objctests] |
|
|
|
[run_and_log(logfile, t) for t in objctests] |
|
|
|