Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
1839b78f
...
1839b78f17505c57b1716af955ffc2b8e950e860
authored
2012-01-18 15:19:52 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixes #43 - Exit status not reported back to caller
1 parent
1d116e5c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
bin/casperjs
modules/tester.js
bin/casperjs
View file @
1839b78
...
...
@@ -17,7 +17,8 @@ CASPER_ARGS.extend([os.path.join(CASPER_PATH, 'bin', 'bootstrap.js'), '--casper-
CASPER_ARGS
.
extend
(
sys
.
argv
[
1
:])
try
:
subprocess
.
call
(
CASPER_ARGS
)
s
tatus
=
s
ubprocess
.
call
(
CASPER_ARGS
)
except
KeyboardInterrupt
:
print
'
\n
CasperJS interrupted, exiting.'
sys
.
exit
()
status
=
0
sys
.
exit
(
status
)
...
...
modules/tester.js
View file @
1839b78
...
...
@@ -467,7 +467,6 @@ var Tester = function(casper, options) {
}
}
if
(
exit
===
true
)
{
console
.
log
(
'exiting with status: '
+
exitStatus
);
casper
.
exit
(
exitStatus
);
}
};
...
...
Please
register
or
sign in
to post a comment