In spkgs, run testcc.sh and testcxx.sh without explicit path

Imported from <a href="http://trac.sagemath.org/sage_trac/ticket/12311">trac #12311</a>.

patch for rubiks spkg; for review only

Reported by: jdemeyer

Component: packages

CC: 

Report Upstream: N/A

Authors: John Palmieri

Dependencies: <a href="http://trac.sagemath.org/sage_trac/ticket/11073">trac #11073</a>, <a href="http://trac.sagemath.org/sage_trac/ticket/11920">trac #11920</a>, <a href="http://trac.sagemath.org/sage_trac/ticket/12304">trac #12304</a>, <a href="http://trac.sagemath.org/sage_trac/ticket/12694">trac #12694</a>

Work issues: 

Reviewers: Jeroen Demeyer

Merged in: sage-5.0.beta11

Attachments: <ol><li><a href="http://trac.sagemath.org/sage_trac/attachment/ticket/12311/trac_12311-root.patch">trac_12311-root.patch: root repo</a> by jhpalmieri at 20120323T16:43:35</li><li><a href="http://trac.sagemath.org/sage_trac/attachment/ticket/12311/trac_12311-cliquer.patch">trac_12311-cliquer.patch: patch for cliquer spkg; for review only</a> by jhpalmieri at 20120323T16:43:53</li><li><a href="http://trac.sagemath.org/sage_trac/attachment/ticket/12311/trac_12311-libm4ri.patch">trac_12311-libm4ri.patch: patch for libm4ri spkg; for review only</a> by jhpalmieri at 20120323T20:42:17</li><li><a href="http://trac.sagemath.org/sage_trac/attachment/ticket/12311/trac_12311-rubiks.patch">trac_12311-rubiks.patch: patch for rubiks spkg; for review only</a> by jhpalmieri at 20120324T00:26:54</li></ol>