mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-14 23:33:28 +00:00
kick taint mode
This commit is contained in:
@@ -53,9 +53,8 @@ test-windows:
|
||||
<<: *win_set_path_def
|
||||
script:
|
||||
- call ci\deps.bat
|
||||
- nim c --taintMode:on testament\tester
|
||||
- nim c testament\tester
|
||||
- testament\tester.exe --pedantic all
|
||||
tags:
|
||||
- windows
|
||||
- fast
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ script:
|
||||
#- nimble install sdl1
|
||||
#- nimble install jester@#head -y
|
||||
#- nimble install niminst
|
||||
- nim c --taintMode:on -d:nimCoroutines testament/tester
|
||||
- nim c -d:nimCoroutines testament/tester
|
||||
- testament/tester --pedantic all -d:nimCoroutines
|
||||
- nim c -o:bin/nimpretty nimpretty/nimpretty.nim
|
||||
- nim c -r nimpretty/tester.nim
|
||||
|
||||
@@ -53,8 +53,8 @@ build_script:
|
||||
# - nimble install opengl -y
|
||||
# - nimble install sdl1 -y
|
||||
# - nimble install jester@#head -y
|
||||
- nim c --taintMode:on -d:nimCoroutines --os:genode -d:posix --compileOnly testament/tester
|
||||
- nim c --taintMode:on -d:nimCoroutines testament/tester
|
||||
- nim c -d:nimCoroutines --os:genode -d:posix --compileOnly testament/tester
|
||||
- nim c -d:nimCoroutines testament/tester
|
||||
|
||||
test_script:
|
||||
- testament\tester --pedantic all -d:nimCoroutines
|
||||
|
||||
4
koch.nim
4
koch.nim
@@ -379,9 +379,7 @@ proc winRelease*() =
|
||||
template `|`(a, b): string = (if a.len > 0: a else: b)
|
||||
|
||||
proc tests(args: string) =
|
||||
# we compile the tester with taintMode:on to have a basic
|
||||
# taint mode test :-)
|
||||
nimexec "cc --taintMode:on --opt:speed testament/tester"
|
||||
nimexec "cc --opt:speed testament/tester"
|
||||
# Since tests take a long time (on my machine), and we want to defy Murhpys
|
||||
# law - lets make sure the compiler really is freshly compiled!
|
||||
nimexec "c --lib:lib -d:release --opt:speed compiler/nim.nim"
|
||||
|
||||
Reference in New Issue
Block a user