Changeset 1b3edc6 for tests/src/onset


Ignore:
Timestamp:
Nov 29, 2018, 4:14:05 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
Children:
eba0cc4
Parents:
b0d4c78
Message:

[tests] also use run_on_default_source in onset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/src/onset/test-onset.c

    rb0d4c78 r1b3edc6  
    1010    err = 2;
    1111    PRINT_WRN("no arguments, running tests\n");
    12     if (test_wrong_params() != 0) {
    13       PRINT_ERR("tests failed!\n");
    14       err = 1;
    15     } else {
    16       err = 0;
    17     }
     12    err = test_wrong_params();
    1813    PRINT_MSG("usage: %s <source_path> [samplerate] [hop_size]\n", argv[0]);
    1914    return err;
     
    10095  del_aubio_onset(o);
    10196
    102   return 0;
     97  return run_on_default_source(main);
    10398}
Note: See TracChangeset for help on using the changeset viewer.