mirror of https://gitee.com/bigwinds/arangodb
flag --skipShebang
This commit is contained in:
parent
9707129b2f
commit
6dd99abe65
|
@ -43,7 +43,8 @@ ulimit -c unlimited -S # enable core files
|
||||||
--skipNondeterministic true \
|
--skipNondeterministic true \
|
||||||
--skipSsl true \
|
--skipSsl true \
|
||||||
--skipBoost true \
|
--skipBoost true \
|
||||||
--skipGeo true
|
--skipGeo true \
|
||||||
|
--skipShebang true
|
||||||
|
|
||||||
success=`cat out/UNITTEST_RESULT_EXECUTIVE_SUMMARY.json`
|
success=`cat out/UNITTEST_RESULT_EXECUTIVE_SUMMARY.json`
|
||||||
if test "$success" == "false"; then
|
if test "$success" == "false"; then
|
||||||
|
|
|
@ -83,6 +83,7 @@ const optionsDocumentation = [
|
||||||
' - `skipSsl`: omit the ssl_server rspec tests.',
|
' - `skipSsl`: omit the ssl_server rspec tests.',
|
||||||
' - `skipTimeCritical`: if set to true, time critical tests will be skipped.',
|
' - `skipTimeCritical`: if set to true, time critical tests will be skipped.',
|
||||||
' - `skipNondeterministic`: if set, nondeterministic tests are skipped.',
|
' - `skipNondeterministic`: if set, nondeterministic tests are skipped.',
|
||||||
|
' - `skipShebang`: if set, the shebang tests are skipped.',
|
||||||
'',
|
'',
|
||||||
' - `onlyNightly`: execute only the nightly tests',
|
' - `onlyNightly`: execute only the nightly tests',
|
||||||
' - `loopEternal`: to loop one test over and over.',
|
' - `loopEternal`: to loop one test over and over.',
|
||||||
|
@ -154,6 +155,7 @@ const optionsDefaults = {
|
||||||
"skipNightly": true,
|
"skipNightly": true,
|
||||||
"skipNondeterministic": false,
|
"skipNondeterministic": false,
|
||||||
"skipRanges": false,
|
"skipRanges": false,
|
||||||
|
"skipShebang": false,
|
||||||
"skipSsl": false,
|
"skipSsl": false,
|
||||||
"skipTimeCritical": false,
|
"skipTimeCritical": false,
|
||||||
"test": undefined,
|
"test": undefined,
|
||||||
|
@ -2200,7 +2202,7 @@ testFuncs.arangosh = function(options) {
|
||||||
var shebangSuccess = true;
|
var shebangSuccess = true;
|
||||||
var deltaTime3 = 0;
|
var deltaTime3 = 0;
|
||||||
|
|
||||||
if (platform.substr(0, 3) !== "win") {
|
if (!options.skipShebang && platform.substr(0, 3) !== "win") {
|
||||||
var shebangFile = fs.join(fs.getTempPath(), "testshebang.js");
|
var shebangFile = fs.join(fs.getTempPath(), "testshebang.js");
|
||||||
|
|
||||||
print("Starting arangosh via shebang script: " + shebangFile);
|
print("Starting arangosh via shebang script: " + shebangFile);
|
||||||
|
|
Loading…
Reference in New Issue