Last active
January 5, 2017 20:13
-
-
Save apb2006/3b5ff75994c8f4250354f6365477473d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(: queue async run of all tests in $dir :) | |
declare function local:queue-tests($dir as xs:string,$opts as map(*)) as xs:string | |
{ | |
let $q:=``[ | |
declare variable $password external; | |
client:connect('localhost', | |
db:system()/globaloptions/port/xs:integer(.), | |
'admin', | |
$password) | |
! client:execute(.,'TEST "`{$dir}`"') | |
]`` | |
return jobs:eval($q, | |
map{"password":$opts?password}, | |
map { 'cache': true()} | |
) | |
}; | |
local:queue-tests("C:\Users\andy\git\content-architecture\xquery\ALO\with space", | |
map{"password":"uksapl"}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment