refs #18011 disable some newly failing tests on cpp windows; refs #17946 increase timeout for tchannels (#18012)
This commit is contained in:
parent
97970d9dcc
commit
2ce592a209
5 changed files with 14 additions and 8 deletions
|
|
@ -1317,10 +1317,10 @@ proc del*[T](x: var seq[T], i: Natural) {.noSideEffect.} =
|
||||||
##
|
##
|
||||||
## See also:
|
## See also:
|
||||||
## * `delete <#delete,seq[T],Natural>`_ for preserving the order
|
## * `delete <#delete,seq[T],Natural>`_ for preserving the order
|
||||||
##
|
runnableExamples:
|
||||||
## .. code-block:: Nim
|
var a = @[10, 11, 12, 13, 14]
|
||||||
## var i = @[1, 2, 3, 4, 5]
|
a.del(2)
|
||||||
## i.del(2) # => @[1, 2, 5, 4]
|
assert a == @[10, 11, 14, 13]
|
||||||
let xl = x.len - 1
|
let xl = x.len - 1
|
||||||
movingCopy(x[i], x[xl])
|
movingCopy(x[i], x[xl])
|
||||||
setLen(x, xl)
|
setLen(x, xl)
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
discard """
|
discard """
|
||||||
targets: "cpp"
|
targets: "cpp"
|
||||||
output: '''6.0
|
output: '''
|
||||||
|
6.0
|
||||||
0'''
|
0'''
|
||||||
|
disabled: "windows" # pending bug #18011
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# bug #4730
|
# bug #4730
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
discard """
|
discard """
|
||||||
targets: "cpp"
|
targets: "cpp"
|
||||||
output: '''int
|
output: '''
|
||||||
|
int
|
||||||
float'''
|
float'''
|
||||||
|
disabled: "windows" # pending bug #18011
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import typetraits
|
import typetraits
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
discard """
|
discard """
|
||||||
targets: "cpp"
|
targets: "cpp"
|
||||||
output: '''caught as std::exception
|
output: '''
|
||||||
|
caught as std::exception
|
||||||
expected
|
expected
|
||||||
finally1
|
finally1
|
||||||
finally2
|
finally2
|
||||||
|
|
@ -12,6 +13,7 @@ finally 2
|
||||||
expected
|
expected
|
||||||
cpp exception caught
|
cpp exception caught
|
||||||
'''
|
'''
|
||||||
|
disabled: "windows" # pending bug #18011
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
discard """
|
discard """
|
||||||
timeout: 20.0 # but typically < 1s (in isolation but other tests running in parallel can affect this since based on epochTime)
|
timeout: 60.0 # but typically < 1s (in isolation but other tests running in parallel can affect this since based on epochTime)
|
||||||
disabled: "freebsd"
|
disabled: "freebsd"
|
||||||
matrix: "--gc:arc --threads:on; --gc:arc --threads:on -d:danger"
|
matrix: "--gc:arc --threads:on; --gc:arc --threads:on -d:danger"
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue