OSDN Git Service

Fix linkerconfig_backward_compatibility_test
authorJooyung Han <jooyung@google.com>
Wed, 12 Feb 2020 23:41:15 +0000 (08:41 +0900)
committerJooyung Han <jooyung@google.com>
Wed, 12 Feb 2020 23:41:15 +0000 (08:41 +0900)
commit2dd4e4d2cbe2429c26bc4c247201562c2d4fee00
tree7562eb71e55895f68a0ae12295c4381054fffc30
parent7c2b73a71f342901fcf321be1e3e13d6b42893c2
Fix linkerconfig_backward_compatibility_test

The current GetValue() falls back to GetProperty(). This makes the test
show different result on different running environment. For consistent
test result, MockVariables() now overrides all product/vendor variables.

Bug: n/a
Test: atest --host linkerconfig_backward_compatibility_test
      atest linkerconfig_backward_compatibility_test

Change-Id: I4b7533e10058b0236a8aef4c54fbb58f3bec0ccc
contents/tests/backward_compatibility/testbase.h