Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
postpic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LabAstro
postpic
Commits
9b701270
Commit
9b701270
authored
Mar 15, 2015
by
Stephan Kuschel
Browse files
Options
Downloads
Patches
Plain Diff
rebuild extensions in run-tests.py
parent
554ec10b
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
run-tests.py
+3
-1
3 additions, 1 deletion
run-tests.py
with
3 additions
and
1 deletion
run-tests.py
+
3
−
1
View file @
9b701270
...
@@ -39,6 +39,8 @@ def exitonfailure(exitstatus, cmd=None):
...
@@ -39,6 +39,8 @@ def exitonfailure(exitstatus, cmd=None):
def
main
():
def
main
():
# make sure .pyx sources are up to date and compiled
subprocess
.
call
(
'
python2 setup.py build_ext --inplace
'
,
shell
=
True
)
# run nose tests
# run nose tests
import
nose
import
nose
ex
=
nose
.
run
()
# returns True on success
ex
=
nose
.
run
()
# returns True on success
...
@@ -50,7 +52,7 @@ def main():
...
@@ -50,7 +52,7 @@ def main():
os
.
path
.
join
(
'
examples
'
,
'
particleshapedemo.py
'
)]
os
.
path
.
join
(
'
examples
'
,
'
particleshapedemo.py
'
)]
for
cmd
in
cmds
:
for
cmd
in
cmds
:
print
(
'
===== running next command =====
'
)
print
(
'
===== running next command =====
'
)
print
(
cmd
)
print
(
'
$
'
+
cmd
)
exitonfailure
(
subprocess
.
call
(
cmd
,
shell
=
True
),
cmd
=
cmd
)
exitonfailure
(
subprocess
.
call
(
cmd
,
shell
=
True
),
cmd
=
cmd
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment