mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 19:52:36 +00:00
@@ -56,6 +56,7 @@ pkg "nimpy", "nim c -r tests/nimfrompy.nim"
|
||||
pkg "nimquery"
|
||||
pkg "nimsl", "", true
|
||||
pkg "nimsvg"
|
||||
# pkg "nimterop", "", true
|
||||
pkg "nimx", "nim c --threads:on test/main.nim", true
|
||||
pkg "norm", "nim c -r tests/tsqlite.nim", true
|
||||
pkg "npeg"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
discard """
|
||||
disabled: "windows"
|
||||
outputsub: "send has errored. As expected. All good!"
|
||||
exitcode: 0
|
||||
"""
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
discard """
|
||||
cmd: "nim c -d:release --rangeChecks:on $file"
|
||||
disabled: "windows"
|
||||
output: '''StrictPositiveRange
|
||||
float
|
||||
range fail expected
|
||||
@@ -33,11 +34,11 @@ try:
|
||||
myoverload(StrictPositive(z))
|
||||
except:
|
||||
echo "range fail expected"
|
||||
|
||||
|
||||
|
||||
|
||||
proc strictOnlyProc(x: StrictPositive): bool =
|
||||
if x > 1.0: true else: false
|
||||
|
||||
|
||||
let x2 = 5.0.Positive
|
||||
doAssert(strictOnlyProc(x2))
|
||||
|
||||
@@ -46,4 +47,4 @@ try:
|
||||
discard strictOnlyProc(x4)
|
||||
except:
|
||||
echo "range fail expected"
|
||||
|
||||
|
||||
|
||||
@@ -2,8 +2,7 @@ discard """
|
||||
cmd: "nim c --threads:on -d:ssl $file"
|
||||
exitcode: 0
|
||||
output: "OK"
|
||||
disabled: "travis"
|
||||
disabled: "appveyor"
|
||||
disabled: true
|
||||
"""
|
||||
|
||||
import strutils
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
discard """
|
||||
disabled: "travis"
|
||||
disabled: "appveyor"
|
||||
joinable: false
|
||||
disabled: 32bit
|
||||
disabled: true
|
||||
"""
|
||||
|
||||
# CI integration servers are out of memory for this test
|
||||
|
||||
Reference in New Issue
Block a user