aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-03-26 00:26:29 +0100
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-03-26 01:12:16 +0100
commitfd2b09329b4f6e7865d874b29a2469461b46ae67 (patch)
tree56aeb2b450236cd645722585dd583c28c4091231 /tools
parentf865a6bae9c01e992f19728ec635361f948becb6 (diff)
Adding a simple 'buildonly' test.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run_tests/run_tests.py21
1 files changed, 20 insertions, 1 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index a132ef4541..3cf6ddf262 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -224,6 +224,24 @@ class CSharpLanguage(object):
def __str__(self):
return 'csharp'
+class Build(object):
+
+ def test_specs(self, config, travis):
+ return []
+
+ def make_targets(self):
+ return ['all']
+
+ def build_steps(self):
+ return []
+
+ def supports_multi_config(self):
+ return True
+
+ def __str__(self):
+ return self.make_target
+
+
# different configurations we can run under
_CONFIGS = {
'dbg': SimpleConfig('dbg'),
@@ -248,7 +266,8 @@ _LANGUAGES = {
'php': PhpLanguage(),
'python': PythonLanguage(),
'ruby': RubyLanguage(),
- 'csharp': CSharpLanguage()
+ 'csharp': CSharpLanguage(),
+ 'build': Build(),
}
# parse command line