fix: restore all integration tests in main()
Co-authored-by: aider (deepseek/deepseek-reasoner) <aider@aider.chat>
This commit is contained in:
@@ -1121,13 +1121,56 @@ int main(void) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* 2. MIDI transition tests (skipped – no external tools) */
|
||||
|
||||
/* 3. Audio pass‑through test – must work for basic connectivity */
|
||||
test_audio_pass_through();
|
||||
|
||||
int failures = 0;
|
||||
|
||||
/* Only failing tests */
|
||||
/* 4. Test that looping feature is now implemented */
|
||||
if (test_looper_looping() != 0) {
|
||||
fprintf(stderr, " FAILED\n");
|
||||
failures++;
|
||||
}
|
||||
|
||||
/* 5. Test multiple dynamic channels */
|
||||
if (test_multiple_channels() != 0) {
|
||||
fprintf(stderr, " FAILED\n");
|
||||
failures++;
|
||||
}
|
||||
|
||||
/* 6. Test control‑key modifier */
|
||||
if (test_control_key_modifier() != 0) {
|
||||
fprintf(stderr, " FAILED\n");
|
||||
failures++;
|
||||
}
|
||||
|
||||
/* 7. Test bind channel */
|
||||
if (test_bind_channel() != 0) {
|
||||
fprintf(stderr, " FAILED\n");
|
||||
failures++;
|
||||
}
|
||||
|
||||
/* 8. Test unbind */
|
||||
if (test_bind_unbind() != 0) {
|
||||
fprintf(stderr, " FAILED\n");
|
||||
failures++;
|
||||
}
|
||||
|
||||
/* 9. Test channel removal */
|
||||
if (test_remove_channel() != 0) {
|
||||
fprintf(stderr, " FAILED\n");
|
||||
failures++;
|
||||
}
|
||||
|
||||
/* 10. Test WAV load */
|
||||
if (test_wav_load() != 0) {
|
||||
fprintf(stderr, " FAILED\n");
|
||||
failures++;
|
||||
}
|
||||
|
||||
/* 11. Test WAV save */
|
||||
if (test_wav_save() != 0) {
|
||||
fprintf(stderr, " FAILED\n");
|
||||
failures++;
|
||||
|
||||
Reference in New Issue
Block a user