Try harder to make it clear that non-toybox failures don't count.
Change-Id: Idd6e1fe539ae85b9771fd66d43c18e1638fa730f
This commit is contained in:
parent
de84c21020
commit
028e13a45e
@ -45,7 +45,7 @@ test_toy() {
|
||||
implementation=$(adb shell "realpath $location")
|
||||
non_toy=false
|
||||
if [ "$implementation" != "/system/bin/toybox" ]; then
|
||||
echo "-- note: $toy is non-toybox implementation"
|
||||
echo "-- note: $toy is *not* toybox; this does not count as a test failure"
|
||||
non_toy=true
|
||||
fi
|
||||
|
||||
|
@ -123,7 +123,7 @@ void ToyboxTest::TestBody() {
|
||||
// And whether it is uses toybox as its implementation.
|
||||
std::string implementation = SystemStdoutOrFatal(std::string("realpath ") + toy_path);
|
||||
if (!android::base::EndsWith(implementation, "/toybox")) {
|
||||
std::cout << toy_ << " is non-toybox implementation";
|
||||
std::cout << toy_ << " is *not* toybox; this does not count as a test failure";
|
||||
// If there is no symlink for the toy on the device then run the tests but don't report
|
||||
// failures.
|
||||
ignore_failures = true;
|
||||
|
Loading…
Reference in New Issue
Block a user