2019-03-30 22:31:10 +00:00
|
|
|
# Chronos Test Suite
|
|
|
|
# (c) Copyright 2018-Present
|
|
|
|
# Status Research & Development GmbH
|
|
|
|
#
|
|
|
|
# Licensed under either of
|
|
|
|
# Apache License, version 2.0, (LICENSE-APACHEv2)
|
|
|
|
# MIT license (LICENSE-MIT)
|
2023-08-01 09:56:08 +00:00
|
|
|
import ".."/chronos/config
|
2022-11-02 07:03:19 +00:00
|
|
|
|
2023-08-01 09:56:08 +00:00
|
|
|
when (chronosEventEngine in ["epoll", "kqueue"]) or defined(windows):
|
|
|
|
import testmacro, testsync, testsoon, testtime, testfut, testsignal,
|
|
|
|
testaddress, testdatagram, teststream, testserver, testbugs, testnet,
|
|
|
|
testasyncstream, testhttpserver, testshttpserver, testhttpclient,
|
|
|
|
testproc, testratelimit, testfutures, testthreadsync
|
|
|
|
|
|
|
|
# Must be imported last to check for Pending futures
|
|
|
|
import testutils
|
|
|
|
elif chronosEventEngine == "poll":
|
|
|
|
# `poll` engine do not support signals and processes
|
|
|
|
import testmacro, testsync, testsoon, testtime, testfut, testaddress,
|
|
|
|
testdatagram, teststream, testserver, testbugs, testnet,
|
|
|
|
testasyncstream, testhttpserver, testshttpserver, testhttpclient,
|
|
|
|
testratelimit, testfutures, testthreadsync
|
|
|
|
|
|
|
|
# Must be imported last to check for Pending futures
|
|
|
|
import testutils
|