Преглед на файлове

[Makefile] Allow specifying the Python version in offline tests

Yen Chi Hsuan преди 9 години
родител
ревизия
1b0635aba3
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -45,7 +45,7 @@ test:
 ot: offlinetest
 ot: offlinetest
 
 
 offlinetest: codetest
 offlinetest: codetest
-	nosetests --verbose test --exclude test_download.py --exclude test_age_restriction.py --exclude test_subtitles.py --exclude test_write_annotations.py --exclude test_youtube_lists.py --exclude test_iqiyi_sdk_interpreter.py
+	$(PYTHON) -m nose --verbose test --exclude test_download.py --exclude test_age_restriction.py --exclude test_subtitles.py --exclude test_write_annotations.py --exclude test_youtube_lists.py --exclude test_iqiyi_sdk_interpreter.py
 
 
 tar: youtube-dl.tar.gz
 tar: youtube-dl.tar.gz