jaqquery / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

libyuv_test.gyp call to svn fails when built with updated chromium deps that use git not svn #356

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Updating projects from gyp files...
'' not versioned, and not exported
gyp: Call to 'svnversion -n' returned exit status 1.
ninja: fatal: chdir to 'out\Debug' - No such file or directory

Original issue reported on code.google.com by fbarch...@google.com on 4 Sep 2014 at 11:56

GoogleCodeExporter commented 8 years ago
Adding a gyp define that defaults to not testing svn.

set GYP_DEFINES=target_arch=ia32

d:\src\libyuv\trunk\out\Release>.\libyuv_unittest --gtest_filter=*TestVersion
Note: Google Test filter = *TestVersion
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from libyuvTest
[ RUN      ] libyuvTest.TestVersion
LIBYUV_VERSION 1074
WARNING - SVN Version unavailable.  Test not run.
[       OK ] libyuvTest.TestVersion (2 ms)
[----------] 1 test from libyuvTest (5 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (15 ms total)
[  PASSED  ] 1 test.

  YOU HAVE 1 DISABLED TEST

set GYP_DEFINES=target_arch=ia32 libyuv_disable_jpeg=1 libyuv_enable_svn=1
d:\src\libyuv\trunk\out\Release>.\libyuv_unittest --gtest_filter=*TestVersion
Note: Google Test filter = *TestVersion
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from libyuvTest
[ RUN      ] libyuvTest.TestVersion
LIBYUV_VERSION 1074
LIBYUV_SVNREVISION 1074
[       OK ] libyuvTest.TestVersion (2 ms)
[----------] 1 test from libyuvTest (5 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (13 ms total)
[  PASSED  ] 1 test.

  YOU HAVE 1 DISABLED TEST

Original comment by fbarch...@google.com on 5 Sep 2014 at 12:11

GoogleCodeExporter commented 8 years ago
Fixed in r1075

Original comment by fbarch...@google.com on 8 Sep 2014 at 11:42