summaryrefslogtreecommitdiff
path: root/source3
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
commitde12a0d95402511907064e82547d614df8f9a2aa (patch)
treefd89dfde403197c3ea7839b95db19138bd339b78 /source3
parent1d2afdcfb74475ac09076d049c7e362ba17616e5 (diff)
downloadsamba-de12a0d95402511907064e82547d614df8f9a2aa.tar.gz
samba-de12a0d95402511907064e82547d614df8f9a2aa.tar.bz2
samba-de12a0d95402511907064e82547d614df8f9a2aa.zip
Add an STF module that defines the tests to be run by "make check".
(This used to be commit a5a2cc9ae9668e66d39beed1fdad4df0405fa4da)
Diffstat (limited to 'source3')
-rw-r--r--source3/stf/standardcheck.py33
1 files changed, 33 insertions, 0 deletions
diff --git a/source3/stf/standardcheck.py b/source3/stf/standardcheck.py
new file mode 100644
index 0000000000..5af1c78376
--- /dev/null
+++ b/source3/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)