Some echo tests added.
This commit is contained in:
1 parent
8a32895457
commit
eb5b2038d6
38 files changed
+1739
-31
No files matched your search
+10
-3
@@ -19,6 +19,13 @@ requiredTests = {
|
||||
"TestAutomaticTitleStillStopsForExplicitInput",
|
||||
"TestTitleProtectionDoesNotChangeOrdinaryReading",
|
||||
"TestRepeatTrackerRecognizesNativeSequences",
|
||||
"TestTypingEchoModeCombinations",
|
||||
"TestTypingEchoVoiceCombinations",
|
||||
"TestTypingEchoLineBreakBeforeExistingText",
|
||||
"TestTypingEchoLineBreakKeepsPriorCaretContext",
|
||||
"TestEchoSpeakerSwitchesBothVoicesTransactionally",
|
||||
"TestSpeechWorkerKeyEchoCompletesBeforeCaretSpeech",
|
||||
"TestSpeechWorkerKeyEchoWaitStillAllowsInputInterruption",
|
||||
}
|
||||
|
||||
|
||||
@@ -33,10 +40,10 @@ def run_checks(sourceRoot: Path) -> None:
|
||||
testEnv["CTHULHU_WINE_TITLE_DBUS"] = "1"
|
||||
command = [
|
||||
"dbus-run-session", "--", "go", "test", "-json", "-race", "-count=1",
|
||||
"-timeout=60s", "-run", "^Test.*(Title|Repeat|Interrupt)|^Test(SpeechWorker|Cancel|WineReview)",
|
||||
"./internal/app", "./internal/input", "./internal/speech", "./internal/wine",
|
||||
"-timeout=60s", "-run", "^Test.*(Title|Repeat|Interrupt|Echo)|^Test(SpeechWorker|Cancel|WineReview)",
|
||||
"./internal/app", "./internal/input", "./internal/presentation", "./internal/speech", "./internal/wine",
|
||||
]
|
||||
print("Checking speech queues, Wine metadata and key interruption...", flush=True)
|
||||
print("Checking speech queues, key echo, Wine metadata and key interruption...", flush=True)
|
||||
result = run_private_session(command, cwd=sourceRoot, env=testEnv, text=True,
|
||||
stdout=subprocess.PIPE, stderr=subprocess.STDOUT, check=False)
|
||||
passedTests = set()
|
||||
|
||||
Reference in new issue
Block a user