Merge pull request #743 from Varriount/tests/comment-caas

Commented out CAAS testing code.
This commit is contained in:
Grzegorz Adam Hankiewicz 2013-12-12 12:09:13 -08:00
commit 01661daf76

View file

@ -11,7 +11,7 @@
import import
parseutils, strutils, pegs, os, osproc, streams, parsecfg, browsers, json, parseutils, strutils, pegs, os, osproc, streams, parsecfg, browsers, json,
marshal, cgi, parseopt, caasdriver marshal, cgi, parseopt #, caas
const const
cmdTemplate = r"nimrod cc --hints:on $# $#" cmdTemplate = r"nimrod cc --hints:on $# $#"
@ -364,10 +364,10 @@ proc outputJSON(reject, compile, run: TResults) =
var s = pretty(doc) var s = pretty(doc)
writeFile(jsonFile, s) writeFile(jsonFile, s)
proc runCaasTests(r: var TResults) = # proc runCaasTests(r: var TResults) =
for test, output, status, mode in caasTestsRunner(): # for test, output, status, mode in caasTestsRunner():
r.addResult(test, "", output & "-> " & $mode, # r.addResult(test, "", output & "-> " & $mode,
if status: reSuccess else: reOutputsDiffer) # if status: reSuccess else: reOutputsDiffer)
proc main() = proc main() =
os.putenv "NIMTEST_NO_COLOR", "1" os.putenv "NIMTEST_NO_COLOR", "1"
@ -411,7 +411,7 @@ proc main() =
writeResults(runJson, r) writeResults(runJson, r)
of "special": of "special":
runSpecialTests(r, p.cmdLineRest.string) runSpecialTests(r, p.cmdLineRest.string)
runCaasTests(r) # runCaasTests(r)
writeResults(runJson, r) writeResults(runJson, r)
of "rodfiles": of "rodfiles":
runRodFiles(r, p.cmdLineRest.string) runRodFiles(r, p.cmdLineRest.string)