Files
mosquitto/run_tests.py
Roger A. Light adea690b9d Combine all ptest tests into a single run, for speed.
Old `make ptest` locally: 1m34
New `make ptest` locally: 55s

Doesn't work on CI for some reason, so actually disabled for
`make ptest`. Use ./run_tests.py instead
2024-11-21 17:07:32 +00:00

28 lines
732 B
Python
Executable File

#!/usr/bin/env python3
import inspect
import os
import sys
sys.path.insert(0, "test")
import ptest
import test.apps.ctrl.test as p_ctrl
import test.apps.db_dump.test as p_db_dump
import test.apps.passwd.test as p_passwd
import test.apps.signal.test as p_signal
import test.broker.test as p_broker
import test.client.test as p_client
import test.lib.test as p_lib
test = ptest.PTest()
test.add_tests(p_client.tests, "test/client")
test.add_tests(p_lib.tests, "test/lib")
test.add_tests(p_ctrl.tests, "test/apps/ctrl")
test.add_tests(p_db_dump.tests, "test/apps/db_dump")
test.add_tests(p_passwd.tests, "test/apps/ctrl")
test.add_tests(p_signal.tests, "test/apps/signal")
test.add_tests(p_broker.tests, "test/broker")
test.run()