mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
This commit is contained in:
commit
cc829e2b0d
|
@ -1129,8 +1129,13 @@ var impTodo = [
|
||||||
testFuncs.importing = function (options) {
|
testFuncs.importing = function (options) {
|
||||||
if (options.cluster) {
|
if (options.cluster) {
|
||||||
print("Skipped because of cluster.");
|
print("Skipped because of cluster.");
|
||||||
return {"importing": {"status":true, "skipped":true,
|
return {"importing":
|
||||||
"message": "skipped because of cluster"}};
|
{
|
||||||
|
"status" : true,
|
||||||
|
"message": "skipped because of cluster",
|
||||||
|
"skipped": true
|
||||||
|
}
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
var instanceInfo = startInstance("tcp", options, [ ], "importing");
|
var instanceInfo = startInstance("tcp", options, [ ], "importing");
|
||||||
|
|
|
@ -46,14 +46,22 @@ function resultsToXml(results, baseName) {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (var testrun in results) {
|
for (var testrun in results) {
|
||||||
if (results.hasOwnProperty(testrun)) {
|
if ((testrun !== "all_ok") && (results.hasOwnProperty(testrun))) {
|
||||||
for (var test in results[testrun]) {
|
for (var test in results[testrun]) {
|
||||||
if (results[testrun].hasOwnProperty(test)) {
|
|
||||||
|
if ((test !== "ok") &&
|
||||||
|
results[testrun].hasOwnProperty(test) &&
|
||||||
|
!results[testrun][test].hasOwnProperty('skipped')) {
|
||||||
|
|
||||||
var xml = buildXml();
|
var xml = buildXml();
|
||||||
|
|
||||||
|
var failuresFound = "";
|
||||||
|
if (results[testrun][test].hasOwnProperty('failed')) {
|
||||||
|
failuresFound = results[testrun][test].failed;
|
||||||
|
}
|
||||||
xml.elem("testsuite", {
|
xml.elem("testsuite", {
|
||||||
errors: 0,
|
errors: 0,
|
||||||
failures: results[testrun][test].failed,
|
failures: failuresFound,
|
||||||
name: test,
|
name: test,
|
||||||
tests: results[testrun][test].total,
|
tests: results[testrun][test].total,
|
||||||
time: results[testrun][test].duration
|
time: results[testrun][test].duration
|
||||||
|
|
Loading…
Reference in New Issue