1
0
Fork 0

Fix invocation of the generate examples js

This commit is contained in:
Wilfried Goesgens 2016-05-23 11:37:21 +02:00
parent 8716fc68ab
commit 454cff37e1
3 changed files with 3 additions and 5 deletions

View File

@ -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;
} }

View File

@ -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()

View File

@ -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}"