make perftest: for performance testing
[nivanova/samba-autobuild/.git] / selftest / perf_tests.py
1 #!/usr/bin/python
2
3 # This script generates a list of testsuites that should be run to
4 # test Samba performance.
5 #
6 # These tests are not intended to exercise aspect of Samba, but
7 # perform common simple functions or to ascertain performance.
8 #
9
10 # The syntax for a testsuite is "-- TEST --" on a single line, followed
11 # by the name of the test, the environment it needs and the command to run, all
12 # three separated by newlines. All other lines in the output are considered
13 # comments.
14
15 from selftesthelpers import *
16
17 samba4srcdir = source4dir()
18 samba4bindir = bindir()
19
20 plantestsuite_loadlist("samba4.ldap.ad_dc_performance.python(ad_dc_ntvfs)",
21                        "ad_dc_ntvfs",
22                        [python, os.path.join(samba4srcdir,
23                                              "dsdb/tests/python/ad_dc_performance.py"),
24                         '$SERVER', '-U"$USERNAME%$PASSWORD"',
25                         '--workgroup=$DOMAIN',
26                         '$LOADLIST', '$LISTOPT'])