1. 05 Aug, 2020 1 commit
    • moto's avatar
      [CI] Run unit test with non-editable installation (#845) · 9ba02d5b
      moto authored
      We have been running unit test with editable installation. (i.e. `python setup.py develop`), with which we missed issues like #842. 
      
      This CC makes installation in CI non-editable, and change test directory structure so that the source code will not shadow the installed version of `torchaudio`. With simple `pytest test`, `pytest` modifies `sys.path` and prepend checked out repository, which shadows the installed version.
      
      To remedy this, the whole test suites has been moved from `./test` to `./test/torchaudio_unittest`. This adds nice module structure to our test code and we can do absolute import in each test module, which makes it possible again to run test with `python -m unittest torchaudio_unittest/XXX.py`
      
      This change does not affect the regular development process (`python setup.py develop` && `pytest test`)
      9ba02d5b
  2. 04 Aug, 2020 1 commit
  3. 03 Aug, 2020 1 commit
  4. 31 Jul, 2020 2 commits
    • moto's avatar
      [CI] Make *nix unit test fail if C++ extension is not available (#847) · 3bab2b29
      moto authored
      Currently our test suites automatically/silently skip tests on C++ extension
      if it is not available. This is nice in local env, but in CI these tests should be
      enforced and reported as failure if C++ extension is not available.
      
      This PR adds switch for making tests fail if C++ extension is not available,
      and make CI for *nix fail if that's the case.
      3bab2b29
    • moto's avatar
      Update test/README.md (#843) · 9c56d88d
      moto authored
      * Update links
      * Add how to run tests
      * Update asset info
      9c56d88d
  5. 30 Jul, 2020 1 commit
  6. 29 Jul, 2020 3 commits
  7. 28 Jul, 2020 2 commits
  8. 27 Jul, 2020 3 commits
  9. 24 Jul, 2020 1 commit
  10. 23 Jul, 2020 4 commits
  11. 22 Jul, 2020 5 commits
    • moto's avatar
      Get rid of whitenoise_1min.mp3 (#813) · 0812f22a
      moto authored
      Part of #764
      0812f22a
    • moto's avatar
      [BC Breaking] Split `list_formats()` for read and write (#811) · f16f74af
      moto authored
      * Separate sox list format function for read and write
      
      * Guard MP3 smoke test
      f16f74af
    • moto's avatar
      Rename test_case_utils to case_utils (#808) · 00cc000e
      moto authored
      buck gets confused with utility module name with `test_` prefix.
      00cc000e
    • moto's avatar
      Refactor test_sox_effects (#805) · 05746042
      moto authored
      1. Move misplaced sox compatibility test (T,Fade, T.Vol, T.Vad) to test/test_sox_compatibility.py
      2. Move test_sox_effects to test/sox_effect/ where all the other functionalities from torchaudio.sox_effects are tested
      05746042
    • moto's avatar
      Add smoke tests to sox_io and sox_effects (#806) · daa0007a
      moto authored
      Currently all the tests in `sox_io_backend` and `sox_effects` (for new SoX effects implementation) requires additional `sox`, and this prevents running test in environment where `sox` command is not available even though `torchaudio` extension is available (such as fb internal). This PR adds smoke tests for these modules, which just runs functions to see if they do not crash.
      daa0007a
  12. 21 Jul, 2020 1 commit
  13. 20 Jul, 2020 1 commit
    • jimchen90's avatar
      Add LibriTTS dataset (#790) · 4b8aad7a
      jimchen90 authored
      
      
      * Add libritts
      
      Add LibriTTS dataset draft
      
      * Add libritts
      
      Use two separate ids for utterance_id.
      
      * Update output form
      
      Use full_id as utterance_id.
      
      * Update format
      
      Add space and test black format
      
      * Update test method
      
      * Add audio and text test
      
      Generate audio and test files on-the-fly in test 
      
      * Update format
      
      * Fix test error and remove assets libritts
      
      The test error is fixed by sorting the file in 4th element instead of 2nd element in samples. Since the files are generated on-the-fly, so the the libritts files in assets are removed.
      
      * Add seed in `get_whitenoise` function
      
      * Change utterance to text
      
      Change `_utterance` to `_text`.
      Co-authored-by: default avatarJi Chen <jimchen90@devfair0160.h2.fair>
      4b8aad7a
  14. 17 Jul, 2020 2 commits
  15. 16 Jul, 2020 3 commits
  16. 14 Jul, 2020 3 commits
  17. 13 Jul, 2020 1 commit
  18. 12 Jul, 2020 1 commit
  19. 08 Jul, 2020 3 commits
  20. 06 Jul, 2020 1 commit