remove .github/workflows/ci_ssl.yml; instead run via trunner_thirdparty (#16221)
This commit is contained in:
parent
f4449a897d
commit
6f1289b80c
12 changed files with 285 additions and 336 deletions
|
|
@ -34,7 +34,7 @@ const
|
|||
"nimble-packages-2",
|
||||
"niminaction",
|
||||
"threads",
|
||||
"untestable",
|
||||
"untestable", # see trunner_special
|
||||
"testdata",
|
||||
"nimcache",
|
||||
"coroutines",
|
||||
|
|
@ -711,8 +711,9 @@ proc processCategory(r: var TResults, cat: Category,
|
|||
of "ic":
|
||||
icTests(r, testsDir, cat, options)
|
||||
of "untestable":
|
||||
# We can't test it because it depends on a third party.
|
||||
discard # TODO: Move untestable tests to someplace else, i.e. nimble repo.
|
||||
# These require special treatment e.g. because they depend on a third party
|
||||
# dependency; see `trunner_special` which runs some of those.
|
||||
discard
|
||||
else:
|
||||
handled = false
|
||||
if not handled:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import std/private/miscdollars
|
||||
import std/strutils
|
||||
from std/os import getEnv
|
||||
|
||||
template flakyAssert*(cond: untyped, msg = "", notifySuccess = true) =
|
||||
## API to deal with flaky or failing tests. This avoids disabling entire tests
|
||||
|
|
@ -34,3 +35,10 @@ proc greedyOrderedSubsetLines*(lhs, rhs: string): bool =
|
|||
if currentPos < 0:
|
||||
return false
|
||||
return true
|
||||
|
||||
template enableRemoteNetworking*: bool =
|
||||
## Allows contolling whether to run some test at a statement-level granularity.
|
||||
## Using environment variables simplifies propagating this all the way across
|
||||
## process calls, e.g. `testament all` calls itself, which in turns invokes
|
||||
## a `nim` invocation (possibly via additional intermediate processes).
|
||||
getEnv("NIM_TESTAMENT_REMOTE_NETWORKING") == "1"
|
||||
|
|
|
|||
|
|
@ -52,6 +52,9 @@ Options:
|
|||
|
||||
On Azure Pipelines, testament will also publish test results via Azure Pipelines' Test Management API
|
||||
provided that System.AccessToken is made available via the environment variable SYSTEM_ACCESSTOKEN.
|
||||
|
||||
Experimental: using environment variable `NIM_TESTAMENT_REMOTE_NETWORKING=1` enables
|
||||
tests with remote networking (as in CI).
|
||||
""" % resultsFile
|
||||
|
||||
proc isNimRepoTests(): bool =
|
||||
|
|
@ -680,7 +683,7 @@ proc main() =
|
|||
case p.key.normalize
|
||||
of "print", "verbose": optPrintResults = true
|
||||
of "failing": optFailing = true
|
||||
of "pedantic": discard "now always enabled"
|
||||
of "pedantic": discard # deadcode
|
||||
of "targets":
|
||||
targetsStr = p.val
|
||||
gTargets = parseTargets(targetsStr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue