Adding basic sanity test.
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index a132ef4..2d6582a 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -224,6 +224,23 @@
def __str__(self):
return 'csharp'
+class Sanity(object):
+
+ def test_specs(self, config, travis):
+ return [config.job_spec('tools/run_tests/run_sanity.sh', None)]
+
+ def make_targets(self):
+ return ['run_dep_checks']
+
+ def build_steps(self):
+ return []
+
+ def supports_multi_config(self):
+ return False
+
+ def __str__(self):
+ return 'sanity'
+
# different configurations we can run under
_CONFIGS = {
'dbg': SimpleConfig('dbg'),
@@ -248,7 +265,8 @@
'php': PhpLanguage(),
'python': PythonLanguage(),
'ruby': RubyLanguage(),
- 'csharp': CSharpLanguage()
+ 'csharp': CSharpLanguage(),
+ 'sanity': Sanity(),
}
# parse command line