set(EXCLUDE_LIST " ")
set(PREFIX "client-")
file(GLOB PY_TEST_FILES [0-9][0-9]-*.py)
get_test_files(PY_TEST_FILES "${EXCLUDE_LIST}" PY_TEST_NAMES)

add_python_test(PY_TEST_NAMES ${PREFIX} 1 "02-subscribe-argv-errors-tls-psk.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "02-subscribe-argv-errors-tls.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "02-subscribe-argv-errors-without-tls.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "02-subscribe-env.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "02-subscribe-filter-out.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "02-subscribe-format-json-properties.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "02-subscribe-format-json-qos0.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "02-subscribe-format-json-qos1.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "02-subscribe-format-json-retain.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "02-subscribe-format.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "02-subscribe-null.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 2 "02-subscribe-qos1-ws.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "02-subscribe-qos1.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "02-subscribe-retain-handling.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "02-subscribe-verbose.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "03-publish-argv-errors-tls-psk.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "03-publish-argv-errors-tls.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "03-publish-argv-errors-without-tls.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "03-publish-env.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "03-publish-file-empty.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "03-publish-file.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "03-publish-options-file.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "03-publish-qos0-empty.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "03-publish-qos1-properties.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 2 "03-publish-qos1-ws-large.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 2 "03-publish-qos1-ws.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "03-publish-qos1.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "03-publish-repeat.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 2 "03-publish-socks-auth-failed.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 2 "03-publish-socks-no-auth.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 2 "03-publish-socks.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "03-publish-stdin-file.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "03-publish-stdin-line.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "03-publish-tls.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "03-publish-url.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "04-rr-argv-errors-tls-psk.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "04-rr-argv-errors-tls.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "04-rr-argv-errors-without-tls.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "04-rr-env.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 2 "04-rr-qos1-ws.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "04-rr-qos1.py")
add_python_test(PY_TEST_NAMES ${PREFIX} 1 "04-rr-retain-handling.py")

check_for_missing_tests(PY_TEST_NAMES)
