#9521: Cliquer: Move test commands from spkg-install to spkg-check
------------------------+---------------------------------------------------
Reporter: mpatel | Owner: tbd
Type: defect | Status: new
Priority: minor | Milestone: sage-4.5.1
Component: packages | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
From Cliquer's `spkg-install`:
{{{
#!sh
if [ "$SAGE_CHECK" = "yes" ]; then
echo "Compiling and running the test cases of cliquer..."
make testcases
if [ $? -ne 0 ]; then
echo "Failed to compile test cases of cliquer... exiting"
exit 1
fi
./testcases
if [ $? -ne 0 ]; then
echo "Failed to run test cases of cliquer... exiting"
exit 1
fi
fi
}}}
We can move this code (or most of it) to a new `spkg-check`.
Since `SAGE_LOCAL/bin/sage-spkg` contains
{{{
#!sh
cd $BASEDIR
if [ "$SAGE_CHECK" != "" -a -f spkg-check ]; then
echo "Running the test suite."
chmod +x spkg-check
./spkg-check
if [ $? -ne 0 ]; then
}}}
we don't need to check `SAGE_CHECK` in `spkg-install`.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9521>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.