testament: change how JS tests are disable for travis on OSX
This commit is contained in:
parent
7f49364fd0
commit
81645deb87
2 changed files with 5 additions and 3 deletions
|
|
@ -484,7 +484,9 @@ proc processCategory(r: var TResults, cat: Category, options: string) =
|
|||
of "js":
|
||||
# only run the JS tests on Windows or Linux because Travis is bad
|
||||
# and other OSes like Haiku might lack nodejs:
|
||||
when defined(linux) or defined(windows):
|
||||
if not defined(linux) and isTravis:
|
||||
discard
|
||||
else:
|
||||
jsTests(r, cat, options)
|
||||
of "dll":
|
||||
dllTests(r, cat, options)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue