Uncomment hold and add correct upgrades

Signed-off-by: Fabio Utzig <utzig@apache.org>
This commit is contained in:
Fabio Utzig 2019-08-28 11:03:44 -03:00 committed by Fabio Utzig
parent 298913b940
commit 135f716bfb
1 changed files with 5 additions and 4 deletions

View File

@ -72,14 +72,15 @@ pub static TEST_DEPS: &[DepTest] = &[
upgrades: [UpgradeInfo::Upgraded, UpgradeInfo::Upgraded],
},
// If all of the dependencies are unmet, there should be no upgrades.
// TODO: Disabled because it fails.
/*
DepTest {
depends: [DepType::Correct, DepType::Correct],
upgrades: [UpgradeInfo::Upgraded, UpgradeInfo::Upgraded],
},
DepTest {
depends: [DepType::Newer, DepType::Newer],
upgrades: [UpgradeInfo::Held, UpgradeInfo::Held],
},
*/
];
/// Counter for the image number.