nimsuggest/tester: disable highlight tests for epc (#10426)
The EPC backend of nimsuggest currently doesn't support nimsuggest highlighter, see nim-lang/nim-mode#140
This commit is contained in:
parent
e962be8981
commit
2fb8b1d132
3 changed files with 4 additions and 2 deletions
|
|
@ -240,6 +240,10 @@ proc skipDisabledTest(test: Test): bool =
|
|||
proc runEpcTest(filename: string): int =
|
||||
let s = parseTest(filename, true)
|
||||
if s.skipDisabledTest: return 0
|
||||
for req, _ in items(s.script):
|
||||
if req.startsWith("highlight"):
|
||||
echo "disabled epc: " & s.filename
|
||||
return 0
|
||||
for cmd in s.startup:
|
||||
if not runCmd(cmd, s.dest):
|
||||
quit "invalid command: " & cmd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue