Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
node-http-proxy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
node-http-proxy
Commits
2616983c
Commit
2616983c
authored
Nov 01, 2011
by
Maciej Małecki
Committed by
Cédric de Saint Martin
Jan 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[minor] When running tests output only basename
parent
739e4989
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test/core/run
test/core/run
+2
-2
No files found.
test/core/run
View file @
2616983c
...
@@ -38,13 +38,13 @@ function runTest(test, callback) {
...
@@ -38,13 +38,13 @@ function runTest(test, callback) {
var
killTimeout
=
setTimeout
(
function
()
{
var
killTimeout
=
setTimeout
(
function
()
{
child
.
kill
();
child
.
kill
();
console
.
log
(
test
.
yellow
+
'
timed out
'
.
red
);
console
.
log
(
path
.
basename
(
test
)
.
yellow
+
'
timed out
'
.
red
);
},
testTimeout
);
},
testTimeout
);
child
.
on
(
'
exit
'
,
function
(
exitCode
)
{
child
.
on
(
'
exit
'
,
function
(
exitCode
)
{
clearTimeout
(
killTimeout
);
clearTimeout
(
killTimeout
);
console
.
log
(
test
.
yellow
+
'
exited with
'
+
console
.
log
(
path
.
basename
(
test
)
.
yellow
+
'
exited with
'
+
((
exitCode
)
?
exitCode
.
toString
().
red
:
exitCode
.
toString
().
green
));
((
exitCode
)
?
exitCode
.
toString
().
red
:
exitCode
.
toString
().
green
));
results
[
test
]
=
{
exitCode
:
exitCode
};
results
[
test
]
=
{
exitCode
:
exitCode
};
callback
();
callback
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment