mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
f15a81c1c0
also added selftest example command
19 lines
503 B
Python
19 lines
503 B
Python
# selftest main code.
|
|
|
|
########################################################################
|
|
# main test entry point
|
|
def cmd_test(opt):
|
|
'''Run the full test suite'''
|
|
print "Starting full test"
|
|
|
|
########################################################################
|
|
# main test entry point
|
|
def cmd_quicktest(opt):
|
|
'''Run the quick test suite'''
|
|
print "Starting quick test"
|
|
|
|
def set_options(opt):
|
|
opt.ADD_COMMAND('test', cmd_test)
|
|
opt.ADD_COMMAND('quicktest', cmd_quicktest)
|
|
|