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
c9e637d7
Commit
c9e637d7
authored
Jul 26, 2012
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make cms and lms tests run independently (they had been colliding on collectstatic)
parent
5e60983e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
2 deletions
+6
-2
common/static/images/correct-icon.png
+0
-0
common/static/images/incorrect-icon.png
+0
-0
common/static/images/unanswered-icon.png
+0
-0
rakefile
+6
-2
No files found.
lms
/static/images/correct-icon.png
→
common
/static/images/correct-icon.png
View file @
c9e637d7
File moved
lms
/static/images/incorrect-icon.png
→
common
/static/images/incorrect-icon.png
View file @
c9e637d7
File moved
lms
/static/images/unanswered-icon.png
→
common
/static/images/unanswered-icon.png
View file @
c9e637d7
File moved
rakefile
View file @
c9e637d7
...
...
@@ -27,7 +27,7 @@ NORMALIZED_DEPLOY_NAME = DEPLOY_NAME.downcase().gsub(/[_\/]/, '-')
INSTALL_DIR_PATH
=
File
.
join
(
DEPLOY_DIR
,
NORMALIZED_DEPLOY_NAME
)
PIP_REPO_REQUIREMENTS
=
"
#{
INSTALL_DIR_PATH
}
/repo-requirements.txt"
# Set up the clean and clobber tasks
CLOBBER
.
include
(
BUILD_DIR
,
REPORT_DIR
,
'cover*'
,
'.coverage'
,
'test_root/*_repo'
)
CLOBBER
.
include
(
BUILD_DIR
,
REPORT_DIR
,
'cover*'
,
'.coverage'
,
'test_root/*_repo'
,
'test_root/staticfiles'
)
CLEAN
.
include
(
"
#{
BUILD_DIR
}
/*.deb"
,
"
#{
BUILD_DIR
}
/util"
)
def
select_executable
(
*
cmds
)
...
...
@@ -54,6 +54,10 @@ task :predjango do
sh
(
'git submodule update --init'
)
end
task
:clean_test_files
do
sh
(
"git clean -fdx test_root"
)
end
[
:lms
,
:cms
,
:common
].
each
do
|
system
|
report_dir
=
File
.
join
(
REPORT_DIR
,
system
.
to_s
)
directory
report_dir
...
...
@@ -93,7 +97,7 @@ end
# Per System tasks
desc
"Run all django tests on our djangoapps for the
#{
system
}
"
task
"test_
#{
system
}
"
=>
[
"
#{
system
}
:collectstatic:test"
,
"fasttest_
#{
system
}
"
]
task
"test_
#{
system
}
"
=>
[
"
clean_test_files"
,
"
#{
system
}
:collectstatic:test"
,
"fasttest_
#{
system
}
"
]
# Have a way to run the tests without running collectstatic -- useful when debugging without
# messing with static files.
...
...
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