mirror of https://gitee.com/bigwinds/arangodb
fix README_maintainers, provide debug output for invalid invocations
This commit is contained in:
parent
e9f9f155e2
commit
054f1afeb0
|
@ -284,16 +284,16 @@ valgrind could look like this. Options are passed as regular long values in the
|
|||
syntax --option value --sub:option value. Using Valgrind could look like this:
|
||||
|
||||
./scripts/unittest single_server --test js/server/tests/aql/aql-escaping.js \
|
||||
--extraargs:server.threads 1 \
|
||||
--extraargs:scheduler.threads 1 \
|
||||
--extraargs:javascript.gc-frequency 1000000 \
|
||||
--extraargs:javascript.gc-interval 65536 \
|
||||
--extraArgs:server.threads 1 \
|
||||
--extraArgs:scheduler.threads 1 \
|
||||
--extraArgs:javascript.gc-frequency 1000000 \
|
||||
--extraArgs:javascript.gc-interval 65536 \
|
||||
--javascript.v8-contexts 2 \
|
||||
--valgrind /usr/bin/valgrind \
|
||||
--valgrindargs:log-file /tmp/valgrindlog.%p
|
||||
|
||||
- we specify the test to execute
|
||||
- we specify some arangod arguments via --extraargs which increase the server performance
|
||||
- we specify some arangod arguments via --extraArgs which increase the server performance
|
||||
- we specify to run using valgrind (this is supported by all facilities)
|
||||
- we specify some valgrind commandline arguments
|
||||
|
||||
|
|
|
@ -178,7 +178,8 @@ function main(argv) {
|
|||
options = internal.parseArgv(argv, 0); // parse option with parseArgv function
|
||||
}
|
||||
} catch (x) {
|
||||
print("failed to parse the json options: " + x.message);
|
||||
print("failed to parse the json options: " + x.message + "\n" + String(x.stack));
|
||||
print("argv: ", argv);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue