summaryrefslogtreecommitdiffstats
path: root/tests/runtests.qs
blob: 9d74e00b510ce48b3f5d63ea8a6a8b0c0e1dfe12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
include("test.js")
//-------------------- Main --------------------

tests = utils.subDirectories(".")
for (var i = 0; i < tests.length; i++) {
    runTest(tests[i])
}

if ( errorCount == 0)
    console.log("There were no errors")
else
    console.log("+++++++++ There were " + errorCount + " error(s) ++++++++++")


function runTest(name) {
    console.log("Running test " + name)
    include(name+"/" + name + ".qs")
}