[Ubuntu] Invoke chromium test after installation (#2640)

* Add test invocation

* ge instead of gt

* change condition
This commit is contained in:
Mikhail Timofeev
2021-02-07 16:10:42 +03:00
committed by GitHub
parent 3ca926ec34
commit 33d4c0213f
2 changed files with 3 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ function Invoke-PesterTests {
$ErrorActionPreference = $backupErrorActionPreference
# Fail in case if no tests are run
if (-not ($results -and ($results.FailedCount -eq 0) -and ($results.PassedCount -gt 0))) {
if (-not ($results -and ($results.FailedCount -eq 0) -and (($results.PassedCount + $results.SkippedCount) -gt 0))) {
$results
throw "Test run has failed"
}

View File

@@ -13,3 +13,4 @@ for package in $common_packages $cmd_packages; do
done
invoke_tests "Apt"
invoke_tests "Browsers" "Chromium"