aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun_tests.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/run_tests.py b/run_tests.py
index 96dbbf2..75d1a81 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -192,6 +192,10 @@ def run_tests():
javatests = gather_tests('test cases/java')
else:
javatests = []
+ if shutil.which('mcs'):
+ cstests = gather_tests('test cases/csharp')
+ else:
+ cstests = []
if shutil.which('valac'):
valatests = gather_tests('test cases/vala')
else:
@@ -236,6 +240,11 @@ def run_tests():
[run_and_log(logfile, t) for t in javatests]
else:
print('\nNot running Java tests.\n')
+ if len(cstests) > 0:
+ print('\nRunning C# tests.\n')
+ [run_and_log(logfile, t) for t in cstests]
+ else:
+ print('\nNot running C# tests.\n')
if len(valatests) > 0:
print('\nRunning Vala tests.\n')
[run_and_log(logfile, t) for t in valatests]