Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx
edx-platform
Commits
50fed0ac
Commit
50fed0ac
authored
Feb 04, 2014
by
Will Daly
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2469 from edx/will/doc-and-i18n-test-prereqs
Install Python prereqs before running doc and i18n tests
parents
70762d1a
6f080b2f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
rakelib/docs.rake
+1
-1
rakelib/i18n.rake
+1
-1
No files found.
rakelib/docs.rake
View file @
50fed0ac
...
@@ -46,7 +46,7 @@ end
...
@@ -46,7 +46,7 @@ end
# Run documentation tests
# Run documentation tests
desc
"Run documentation tests"
desc
"Run documentation tests"
task
:test_docs
do
task
:test_docs
=>
:install_python_prereqs
do
# Be sure that sphinx can build docs w/o exceptions.
# Be sure that sphinx can build docs w/o exceptions.
test_message
=
"If a docs test fails, you should run '%s' and look at whole output and fix exceptions.
test_message
=
"If a docs test fails, you should run '%s' and look at whole output and fix exceptions.
(You shouldn't fix rst warnings and errors for this to pass, just get rid of exceptions.)"
(You shouldn't fix rst warnings and errors for this to pass, just get rid of exceptions.)"
...
...
rakelib/i18n.rake
View file @
50fed0ac
...
@@ -63,7 +63,7 @@ namespace :i18n do
...
@@ -63,7 +63,7 @@ namespace :i18n do
end
end
desc
"Run tests for the internationalization library"
desc
"Run tests for the internationalization library"
task
:test
=>
[
I18N_REPORT_DIR
,
:clean_reports_dir
]
do
task
:test
=>
[
:install_python_prereqs
,
I18N_REPORT_DIR
,
:clean_reports_dir
]
do
pythonpath_prefix
=
"PYTHONPATH=
#{
REPO_ROOT
}
/i18n:$PYTHONPATH"
pythonpath_prefix
=
"PYTHONPATH=
#{
REPO_ROOT
}
/i18n:$PYTHONPATH"
test_sh
(
"i18n"
,
"
#{
pythonpath_prefix
}
nosetests
#{
REPO_ROOT
}
/i18n/tests --with-xunit --xunit-file=
#{
I18N_XUNIT_REPORT
}
"
)
test_sh
(
"i18n"
,
"
#{
pythonpath_prefix
}
nosetests
#{
REPO_ROOT
}
/i18n/tests --with-xunit --xunit-file=
#{
I18N_XUNIT_REPORT
}
"
)
end
end
...
...
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