Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building from source errors: removing fail/error tests #7410

Closed
gaming-hacker opened this issue Nov 9, 2015 · 1 comment
Closed

building from source errors: removing fail/error tests #7410

gaming-hacker opened this issue Nov 9, 2015 · 1 comment

Comments

@gaming-hacker
Copy link

@gaming-hacker gaming-hacker commented Nov 9, 2015

i'm building my own version and have all of the dependencies installed.
i did a git pull 5 minutes ago
no issues with make
with make test

nosetests --with-coverage --cover-package=youtube_dl --cover-html --verbose --processes 4 test

nosetests --verbose test

most tests pass with these exceptions

test_youporn (test.test_age_restriction.TestAgeRestriction) ... ERROR: Unable to download webpage: HTTP Error 503: Service Unavailable (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
ERROR

test_Allocine_1 (test.test_download.TestDownload) ... FAIL
test_Allocine_2 (test.test_download.TestDownload) ... FAIL
test_AlphaPorno (test.test_download.TestDownload) ... ERROR
test_AnySex (test.test_download.TestDownload) ... ERROR
test_Aol_1 (test.test_download.TestDownload) ... ERROR
test_Aparat (test.test_download.TestDownload) ... FAIL
test_AppleConnect (test.test_download.TestDownload) ... FAIL
test_ArchiveOrg_1 (test.test_download.TestDownload) ... FAIL
test_ArteTVConcert (test.test_download.TestDownload) ... FAIL
test_ArteTVCreative (test.test_download.TestDownload) ... ERROR
test_ArteTVCreative_1 (test.test_download.TestDownload) ... ERROR
test_ArteTVFuture (test.test_download.TestDownload) ... ERROR
test_AtresPlayer (test.test_download.TestDownload) ... ERROR
test_Audiomack_1 (test.test_download.TestDownload) ... ERROR

  • about 100 more

which tests are critical for testing functionality?

i'm going to remove all tests that fail or error from my build if they are not critical.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Nov 9, 2015

Run make offlinetest for testing most of the core of youtube-dl. Use nosetests -v test/test_download.py -m <IE> (like nosetests -v test/test_download.py -m Vimeo) to run the test for an especific extractor.

@jaimeMF jaimeMF closed this Nov 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.