summaryrefslogtreecommitdiffstats
path: root/source/stf
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2003-03-19 03:56:50 +0000
committerMartin Pool <mbp@samba.org>2003-03-19 03:56:50 +0000
commita5a2cc9ae9668e66d39beed1fdad4df0405fa4da (patch)
tree44355a5cf0e231ce4e7ce84e47a08dfa0d58fe62 /source/stf
parent27c1626ae0a30bf0f01ea6d6df5836425e6f9547 (diff)
downloadsamba-a5a2cc9ae9668e66d39beed1fdad4df0405fa4da.tar.gz
samba-a5a2cc9ae9668e66d39beed1fdad4df0405fa4da.tar.xz
samba-a5a2cc9ae9668e66d39beed1fdad4df0405fa4da.zip
Add an STF module that defines the tests to be run by "make check".
Diffstat (limited to 'source/stf')
-rw-r--r--source/stf/standardcheck.py33
1 files changed, 33 insertions, 0 deletions
diff --git a/source/stf/standardcheck.py b/source/stf/standardcheck.py
new file mode 100644
index 00000000000..5af1c78376d
--- /dev/null
+++ b/source/stf/standardcheck.py
@@ -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)