Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check manual examples for all chapters even if one fails #1183

Merged
merged 1 commit into from
Mar 15, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions etc/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ popd
COVDIR=coverage
mkdir -p $COVDIR


case ${TEST_SUITE} in
testmanuals)
bin/gap.sh -q tst/extractmanuals.g
Expand All @@ -69,13 +68,19 @@ testmanuals)
QUIT_GAP(0);
GAPInput

TESTMANUALSPASS=yes
for ch in tst/testmanuals/*.tst
do
bin/gap.sh -q -L testmanuals.wsp --cover $COVDIR/$(basename $ch).coverage <<GAPInput
bin/gap.sh -q -L testmanuals.wsp --cover $COVDIR/$(basename $ch).coverage <<GAPInput || TESTMANUALSPASS=no
TestManualChapter("$ch");
QUIT_GAP(0);
GAPInput
done

if [[ $TESTMANUALSPASS = no ]]
then
exit 1
fi

# while we are at it, also test the workspace code
bin/gap.sh -q --cover $COVDIR/workspace.coverage <<GAPInput
Expand Down