mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-31 02:12:11 +00:00
* defaults to Orc * bootstrap using refc * use gc * init orc defines * unregister orc * fix gc * fix commands * add prepareMutation for orc * enable deepcopy for orc * prepareMutation * more fixes * some cases * bug #20081 * partial fixes * partial fixes * fixes command line * more fixes * build Nim with refc * use gc * more fixes * rstore * orc doesn't support threadpool * more shallowCopy * more fixes * fixes unsafeNew * workarounds * small * more fixes * fixes some megatest * tcodegenbugs1 refc * fxies megatest * build nimble with refc * workaround tensordsl tests * replace shallowCopy with move * fixes action * workaround * add todo * fixes important packages * unpublic unregisterArcOrc * fixes cpp * enable windows Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com>
32 lines
955 B
Nim
32 lines
955 B
Nim
discard """
|
|
targets: "c cpp"
|
|
joinable: false
|
|
"""
|
|
|
|
#[
|
|
Runs tests that require special treatment, e.g. because they rely on 3rd party code
|
|
or require external networking.
|
|
|
|
xxx test all tests/untestable/* here, possibly with adjustments to make running times reasonable
|
|
]#
|
|
|
|
import std/[strformat,os,unittest,compilesettings]
|
|
import stdtest/specialpaths
|
|
|
|
const
|
|
nim = getCurrentCompilerExe()
|
|
mode = querySetting(backend)
|
|
|
|
proc runCmd(cmd: string) =
|
|
let ret = execShellCmd(cmd)
|
|
check ret == 0 # allows more than 1 failure
|
|
|
|
proc main =
|
|
let options = fmt"-b:{mode} --hints:off"
|
|
block: # SSL nimDisableCertificateValidation integration tests
|
|
runCmd fmt"{nim} r {options} -d:nimDisableCertificateValidation -d:ssl {testsDir}/untestable/thttpclient_ssl_disabled.nim"
|
|
block: # SSL certificate check integration tests
|
|
runCmd fmt"{nim} r {options} -d:ssl --threads:on --mm:refc {testsDir}/untestable/thttpclient_ssl_remotenetwork.nim"
|
|
|
|
main()
|