4
コンピューティング重大アルゴリズムの書き込みユニットテストでQtテストを使用しています。プロセスはかなりの時間を利用して、古いコンピュータで実行されたときに、このようなタイムアウトがあるため、プロセスは失敗します。タイムアウトをQtテストに設定する
********* Start testing of KnotTest *********
Config: Using QtTest library 5.6.2, Qt 5.6.2 (i386-little_endian-ilp32 shared (dynamic) release build; by MSVC 2013)
PASS : MyTest::initTestCase()
QFATAL : MyTest::test_benchmark() Test function timed out
FAIL! : MyTest::test_benchmark() Received a fatal error.
Unknown file(0) : failure location
Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted
********* Finished testing of KnotTest *********
がどのように生成されたテストプログラムのカスタムタイムアウトを設定することができますか?