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
9e7ccd8e
Commit
9e7ccd8e
authored
Dec 06, 2013
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run tests in lms/lib
parent
d937da8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
rakelib/tests.rake
+9
-2
No files found.
rakelib/tests.rake
View file @
9e7ccd8e
...
...
@@ -21,13 +21,20 @@ def run_tests(system, report_dir, test_id=nil, stop_on_failure=true)
# If no test id is provided, we need to limit the test runner
# to the Djangoapps we want to test. Otherwise, it will
# run tests on all installed packages.
default_test_id
=
"
#{
system
}
/djangoapps common/djangoapps"
if
system
==
:lms
default_test_id
+=
"
#{
system
}
/lib"
end
if
test_id
.
nil?
test_id
=
"
#{
system
}
/djangoapps common/djangoapps"
test_id
=
default_test_id
# Handle "--failed" as a special case: we want to re-run only
# the tests that failed within our Django apps
elsif
test_id
==
'--failed'
test_id
=
"
#{
system
}
/djangoapps common/djangoapps
--failed"
test_id
=
"
#{
default_test_id
}
--failed"
end
cmd
=
django_admin
(
system
,
:test
,
'test'
,
test_id
)
...
...
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