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
6c939979
Commit
6c939979
authored
Mar 02, 2015
by
Christine Lytwynec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bok-choy reporting on failure
parent
57f051b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
9 deletions
+20
-9
scripts/all-tests.sh
+20
-9
No files found.
scripts/all-tests.sh
View file @
6c939979
...
@@ -95,13 +95,13 @@ END
...
@@ -95,13 +95,13 @@ END
"unit"
)
"unit"
)
case
"
$SHARD
"
in
case
"
$SHARD
"
in
"lms"
)
"lms"
)
paver test_system
-s
lms
--extra_args
=
"--with-flaky"
paver test_system
-s
lms
--extra_args
=
"--with-flaky"
||
{
EXIT
=
1
;
}
paver coverage
paver coverage
;;
;;
"cms-js-commonlib"
)
"cms-js-commonlib"
)
paver test_system
-s
cms
--extra_args
=
"--with-flaky"
paver test_system
-s
cms
--extra_args
=
"--with-flaky"
||
{
EXIT
=
1
;
}
paver test_js
--coverage
--skip_clean
paver test_js
--coverage
--skip_clean
||
{
EXIT
=
1
;
}
paver test_lib
--skip_clean
--extra_args
=
"--with-flaky"
paver test_lib
--skip_clean
--extra_args
=
"--with-flaky"
||
{
EXIT
=
1
;
}
paver coverage
paver coverage
;;
;;
*
)
*
)
...
@@ -109,6 +109,8 @@ END
...
@@ -109,6 +109,8 @@ END
paver coverage
paver coverage
;;
;;
esac
esac
exit
$EXIT
;;
;;
"lms-acceptance"
)
"lms-acceptance"
)
...
@@ -158,23 +160,23 @@ END
...
@@ -158,23 +160,23 @@ END
case
"
$SHARD
"
in
case
"
$SHARD
"
in
"all"
)
"all"
)
paver test_bokchoy
paver test_bokchoy
||
{
EXIT
=
1
;
}
;;
;;
"1"
)
"1"
)
paver test_bokchoy
--extra_args
=
"-a shard_1 --with-flaky"
paver test_bokchoy
--extra_args
=
"-a shard_1 --with-flaky"
||
{
EXIT
=
1
;
}
;;
;;
"2"
)
"2"
)
paver test_bokchoy
--extra_args
=
"-a 'shard_2' --with-flaky"
paver test_bokchoy
--extra_args
=
"-a 'shard_2' --with-flaky"
||
{
EXIT
=
1
;
}
;;
;;
"3"
)
"3"
)
paver test_bokchoy
--extra_args
=
"-a 'shard_3' --with-flaky"
paver test_bokchoy
--extra_args
=
"-a 'shard_3' --with-flaky"
||
{
EXIT
=
1
;
}
;;
;;
"4"
)
"4"
)
paver test_bokchoy
--extra_args
=
"-a shard_1=False,shard_2=False,shard_3=False --with-flaky"
paver test_bokchoy
--extra_args
=
"-a shard_1=False,shard_2=False,shard_3=False --with-flaky"
||
{
EXIT
=
1
;
}
;;
;;
# Default case because if we later define another bok-choy shard on Jenkins
# Default case because if we later define another bok-choy shard on Jenkins
...
@@ -197,6 +199,15 @@ END
...
@@ -197,6 +199,15 @@ END
END
END
;;
;;
esac
esac
# Move the reports to a directory that is unique to the shard
# so that when they are 'slurped' to the main flow job, they
# do not conflict with and overwrite reports from other shards.
mv reports/ reports_tmp/
mkdir
-p
reports/
${
TEST_SUITE
}
/
${
SHARD
}
mv reports_tmp/
*
reports/
${
TEST_SUITE
}
/
${
SHARD
}
rm
-r
reports_tmp/
exit
$EXIT
;;
;;
esac
esac
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