summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2009-01-26 17:34:32 +0000
committerAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2009-01-26 17:34:32 +0000
commitafb7845d13d864626c5dddef1bb5c9d11a34b031 (patch)
treef13a2c6101711f77e7e444889ec586852b6012fc
parent38f7c7bcc30ce19d03bbd788adc299f7bc54e730 (diff)
downloadexherbo-afb7845d13d864626c5dddef1bb5c9d11a34b031.tar.gz
exherbo-afb7845d13d864626c5dddef1bb5c9d11a34b031.tar.xz
Add DEFAULT_SRC_TEST_PARAMS.
-rw-r--r--docs/eapi/exheres-for-smarties.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/eapi/exheres-for-smarties.txt b/docs/eapi/exheres-for-smarties.txt
index 83bc07f..13f5ed7 100644
--- a/docs/eapi/exheres-for-smarties.txt
+++ b/docs/eapi/exheres-for-smarties.txt
@@ -575,12 +575,12 @@ Run in the `sandbox` and with `userpriv`. Should be considered mandatory.
{
if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]] ; then
echo "Makefile found, looking for potential test targets"
- if make -j1 -n check ; then
+ if make -j1 -n "${DEFAULT_SRC_TEST_PARAMS[@]}" check ; then
echo "Found check target"
- emake -j1 check
- elif make -j1 -n test ; then
+ emake -j1 "${DEFAULT_SRC_TEST_PARAMS[@]}" check
+ elif make -j1 -n "${DEFAULT_SRC_TEST_PARAMS[@]}" test ; then
echo "Found test target"
- emake -j1 test
+ emake -j1 "${DEFAULT_SRC_TEST_PARAMS[@]} test
else
echo "No check or test target, skipping tests"
fi