Skip to content

OboeTester: save all WAV files in Data Paths test#2207

Merged
philburk merged 2 commits intomainfrom
debug_paths
May 1, 2025
Merged

OboeTester: save all WAV files in Data Paths test#2207
philburk merged 2 commits intomainfrom
debug_paths

Conversation

@philburk
Copy link
Copy Markdown
Contributor

@philburk philburk commented May 1, 2025

Delete old files when the test starts.

This will help us compare passing vs failing signals.

Delete old files when the test starts.
@philburk philburk requested a review from robertwu1 May 1, 2025 00:32
File waveFile = new File(getRecordingDir(), String.format("glitch_%03d.wav", getTestCount()));
int saveResult = saveWaveFile(waveFile.getAbsolutePath());
if (saveResult > 0) {
appendFailedSummary("Saved in " + waveFile.getAbsolutePath() + "\n");
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This causes too many message the "failed summary". We should just print one generic message for glitch_###.wav.

@philburk philburk merged commit 9171846 into main May 1, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants