skip sdl/opengl/fsmonitor tests when unavailable
This commit is contained in:
parent
5bb0820596
commit
a1750bd431
1 changed files with 6 additions and 0 deletions
|
|
@ -105,6 +105,12 @@ proc callCompiler(cmdTemplate, filename, options: string,
|
|||
elif suc =~ pegSuccess:
|
||||
result.err = reSuccess
|
||||
|
||||
if result.err == reNimcCrash and
|
||||
("Your platform is not supported" in result.msg or
|
||||
"cannot open 'sdl'" in result.msg or
|
||||
"cannot open 'opengl'" in result.msg):
|
||||
result.err = reIgnored
|
||||
|
||||
proc callCCompiler(cmdTemplate, filename, options: string,
|
||||
target: TTarget): TSpec =
|
||||
let c = parseCmdLine(cmdTemplate % ["target", targetToCmd[target],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue