Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita30128d

Browse files
committed
Add Python3 module for nose tests coverage
And don't capture stdout running unit tests
1 parentee14235 commita30128d

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

‎.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,9 @@ addons:
8181
-cmake
8282
-swig
8383
-python3-dev
84-
-python3-nose
8584
-python3
85+
-python3-nose
86+
-python3-coverage
8687
-freeglut3-dev
8788

8889
cache:

‎test/pyTest/testOffset.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ def testRewrapVideoNegativeOffset():
257257
dst_videoStream=dst_properties.getVideoProperties()[0]
258258

259259
# check output duration
260+
print"Source duration",src_videoStream.getDuration()
261+
print"Destination duration",dst_videoStream.getDuration()
260262
assert_equals(src_videoStream.getDuration()+offset,dst_videoStream.getDuration() )
261263
assert_equals(src_videoStream.getNbFrames()+ (offset*dst_videoStream.getFps() ),dst_videoStream.getNbFrames() )
262264

‎tools/travis/python.nosetests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ export AVTRANSCODER_TEST_IMAGE_PNG_FILE=`pwd`/avTranscoder-data/image/BigBuckBun
2020
export AVTRANSCODER_TEST_IMAGE_JPG_FILE=`pwd`/avTranscoder-data/image/BigBuckBunny/title_anouncement.thumbnail.jpg
2121

2222
# Launch tests
23-
nosetests3 -w${TRAVIS_BUILD_DIR}/test/pyTest --with-coverage> progress.txt
23+
nosetests3 -w${TRAVIS_BUILD_DIR}/test/pyTest --with-coverage--nocapture> progress.txt

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp