mirror of https://gitee.com/bigwinds/arangodb
Fix invocation of the generate examples js
This commit is contained in:
parent
8716fc68ab
commit
454cff37e1
|
@ -85,9 +85,6 @@ function main(argv) {
|
||||||
print("failed to parse the options: " + x.message);
|
print("failed to parse the options: " + x.message);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
print(options);
|
|
||||||
|
|
||||||
if (options.hasOwnProperty('withPython')) {
|
if (options.hasOwnProperty('withPython')) {
|
||||||
thePython = options.withPython;
|
thePython = options.withPython;
|
||||||
}
|
}
|
||||||
|
|
|
@ -524,7 +524,7 @@ def generateTestCases():
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
loopDirectories()
|
loopDirectories()
|
||||||
print >> sys.stderr, "filtering test cases %s" %(filterTestList)
|
print >> sys.stderr, "filtering test %d cases" %(len(filterTestList))
|
||||||
|
|
||||||
generateArangoshHeader()
|
generateArangoshHeader()
|
||||||
generateSetupFunction()
|
generateSetupFunction()
|
||||||
|
|
|
@ -36,7 +36,8 @@ ${ARANGOSH} \
|
||||||
--javascript.startup-directory js \
|
--javascript.startup-directory js \
|
||||||
--javascript.execute $SCRIPT \
|
--javascript.execute $SCRIPT \
|
||||||
--server.password "" \
|
--server.password "" \
|
||||||
"${ARGS[@]}"
|
-- \
|
||||||
|
"$@"
|
||||||
|
|
||||||
if test $? -eq 0; then
|
if test $? -eq 0; then
|
||||||
echo "removing ${LOGFILE} ${DBDIR}"
|
echo "removing ${LOGFILE} ${DBDIR}"
|
||||||
|
|
Loading…
Reference in New Issue