浏览代码

[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