Changeset f84f6bc for tests/src/tempo


Ignore:
Timestamp:
Nov 29, 2018, 4:55:43 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:
c631cc0
Parents:
a3d8795
Message:

[tests] use run_on_default_source in tempo

File:
1 edited

Legend:

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

    ra3d8795 rf84f6bc  
    88  uint_t err = 0;
    99  if (argc < 2) {
    10     err = 2;
    1110    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     }
     11    err = test_wrong_params();
    1812    PRINT_MSG("usage: %s <source_path> [samplerate] [win_size] [hop_size]\n",
    1913        argv[0]);
     
    136130  del_fvec(out);
    137131
    138   return 0;
     132  return run_on_default_source(main);
    139133}
Note: See TracChangeset for help on using the changeset viewer.