Add an STF module that defines the tests to be run by "make check".
authorMartin Pool <mbp@samba.org>
Wed, 19 Mar 2003 03:56:50 +0000 (03:56 +0000)
committerMartin Pool <mbp@samba.org>
Wed, 19 Mar 2003 03:56:50 +0000 (03:56 +0000)
source/stf/standardcheck.py [new file with mode: 0644]

diff --git a/source/stf/standardcheck.py b/source/stf/standardcheck.py
new file mode 100644 (file)
index 0000000..5af1c78
--- /dev/null
@@ -0,0 +1,33 @@
+#! /usr/bin/python
+
+# Comfychair test cases for Samba
+
+# Copyright (C) 2003 by Martin Pool <mbp@samba.org>
+# 
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+# USA
+
+"""These tests are run by Samba's "make check"."""
+
+import strings, comfychair
+
+# There should not be any actual tests in here: this file just serves
+# to define the ones run by default.  They're imported from other
+# modules.
+
+tests = strings.tests
+
+if __name__ == '__main__':
+    comfychair.main(tests)