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
a14e5261
Commit
a14e5261
authored
Sep 21, 2016
by
Jesse Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP add a bash script for rerunning unit test shard 4 under coverage for troubleshooting
parent
4ecf2116
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
scripts/test_coverage.sh
+25
-0
No files found.
scripts/test_coverage.sh
0 → 100644
View file @
a14e5261
#!/usr/bin/env bash
set
-e
set
-vx
# Run this with: bash scripts/test_coverage.sh
# Clean up previous builds
git clean
-qxfd
paver install_prereqs
rm
-rf
../reports_
*
export
COVERAGE_DEBUG_FILE
=
reports/coverage_debug.log
export
DISABLE_MIGRATIONS
=
1
export
NO_PREREQ_INSTALL
=
1
counter
=
0
LIMIT
=
20
while
[
"
$counter
"
-lt
"
$LIMIT
"
]
do
DISABLE_MIGRATIONS
=
1 paver test_system
-s
lms
--attr
=
'!shard'
--with-flaky
--processes
=
-1
--cov-args
=
"-p"
--with-xunitmp
mv reports
"../reports_
$counter
"
counter
=
`
expr
$counter
+ 1
`
done
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