Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
binwalk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
binwalk
Commits
c7469376
Commit
c7469376
authored
7 years ago
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed setup.py exit code on failed tests
parent
ef4e764a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
setup.py
setup.py
+6
-1
No files found.
setup.py
View file @
c7469376
...
@@ -303,7 +303,7 @@ class TestCommand(Command):
...
@@ -303,7 +303,7 @@ class TestCommand(Command):
os
.
chdir
(
testing_directory
)
os
.
chdir
(
testing_directory
)
# Run the tests
# Run the tests
nose
.
core
.
run
(
argv
=
[
'--exe'
,
'--with-coverage'
])
retval
=
nose
.
core
.
run
(
argv
=
[
'--exe'
,
'--with-coverage'
])
sys
.
stdout
.
write
(
"
\n
"
)
sys
.
stdout
.
write
(
"
\n
"
)
...
@@ -316,6 +316,11 @@ class TestCommand(Command):
...
@@ -316,6 +316,11 @@ class TestCommand(Command):
for
extracted_directory
in
glob
.
glob
(
"
%
s/*.extracted"
%
input_vectors_directory
):
for
extracted_directory
in
glob
.
glob
(
"
%
s/*.extracted"
%
input_vectors_directory
):
remove_tree
(
extracted_directory
)
remove_tree
(
extracted_directory
)
if
retval
==
True
:
sys
.
exit
(
0
)
else
:
sys
.
exit
(
1
)
# The data files to install along with the module
# The data files to install along with the module
install_data_files
=
[]
install_data_files
=
[]
for
data_dir
in
[
"magic"
,
"config"
,
"plugins"
,
"modules"
,
"core"
]:
for
data_dir
in
[
"magic"
,
"config"
,
"plugins"
,
"modules"
,
"core"
]:
...
...
This diff is collapsed.
Click to expand it.
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