Skip to content

Commit

Permalink
Cherry pick PR #4030: Fix the SB version check for SABI test (#4033)
Browse files Browse the repository at this point in the history
Refer to the original PR: #4030

b/360039566

Co-authored-by: Ying Yu <[email protected]>
  • Loading branch information
cobalt-github-releaser-bot and yuying-y authored Sep 21, 2024
1 parent fcbc39e commit f25bccc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions starboard/nplb/nplb_evergreen_compat_tests/sabi_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ TEST_F(SabiTest, VerifySABI) {
SB_LOG(INFO) << "Using SB_API_VERSION=" << SB_API_VERSION;
SB_LOG(INFO) << "Using SABI=" << SB_SABI_JSON_ID;

ASSERT_LT(SB_API_VERSION, SB_MAXIMUM_API_VERSION)
<< "Evergreen should use SB_API_VERSION < SB_MAXIMUM_API_VERSION";
ASSERT_LE(SB_API_VERSION, SB_MAXIMUM_API_VERSION)
<< "Evergreen should use SB_API_VERSION <= SB_MAXIMUM_API_VERSION";

std::set<std::string> sabi_set;
sabi_set.insert(kSabiJsonIdArmHardfp);
Expand Down

0 comments on commit f25bccc

Please sign in to comment.