mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-06 16:56:55 +08:00
produce a warning if versions are slightly off.
BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/796004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@347 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
67aeadab62
commit
008e5eb689
@ -1,6 +1,6 @@
|
||||
Name: libyuv
|
||||
URL: http://code.google.com/p/libyuv/
|
||||
Version: 345
|
||||
Version: 347
|
||||
License: BSD
|
||||
License File: LICENSE
|
||||
|
||||
|
||||
@ -11,6 +11,6 @@
|
||||
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
||||
#define INCLUDE_LIBYUV_VERSION_H_
|
||||
|
||||
#define LIBYUV_VERSION 345
|
||||
#define LIBYUV_VERSION 347
|
||||
|
||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||
|
||||
@ -31,6 +31,9 @@ TEST_F(libyuvTest, TestVersion) {
|
||||
int svn_revision = atoi(ver);
|
||||
printf("LIBYUV_SVNREVISION %d\n", svn_revision);
|
||||
EXPECT_NEAR(LIBYUV_VERSION, svn_revision, 3); // Allow version to be close.
|
||||
if (LIBYUV_VERSION != svn_revision) {
|
||||
printf("WARNING - Versions do not match.\n");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user