mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-05-05 22:14:51 +02:00
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
17 lines
332 B
Python
Executable file
17 lines
332 B
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
import os
|
|
import pathlib
|
|
import sys
|
|
sys.path.insert(0, "../..")
|
|
import ptest
|
|
|
|
tests = []
|
|
|
|
for test_file in pathlib.Path(os.path.abspath(os.path.dirname(__file__))).glob('db-dump-*.py'):
|
|
tests.append((1, test_file.resolve()))
|
|
|
|
if __name__ == "__main__":
|
|
test = ptest.PTest()
|
|
test.run_tests(tests)
|