History

fate.sh: Allow setting other make flags for running tests

If makeopts_fate is set, these makeopts are used for running the tests instead of the normal makeopts. If it isn't set, the normal makeopts variable is used as before. This is useful if remote testing on a lesser machine where a large number of parallel jobs might be undesireable, while wanting to speed up the build with many parallel processes.

Martin Storsjö committed 13 years ago

Commit 286ab871 parent aa498c32 files · +3 −1Browse files

Unified · Split

2 files
  1. doc/fate.texi +2 −0
  2. tests/fate.sh +1 −1
doc/fate.texi+2−0
@@ -159,6 +159,8 @@ extra_conf= # extra configure options not covered above · 158 unmodified lines
159159
160160 #make= # name of GNU make if not 'make'
161161 makeopts= # extra options passed to 'make'
162+#makeopts_fate= # extra options passed to 'make' when running tests,
163+ # defaulting to makeopts above if this is not set
162164 #tar= # command to create a tar archive from its arguments on
163165 # stdout, defaults to 'tar c'
164166 @end example
tests/fate.sh+1−1
@@ -73,7 +73,7 @@ compile()( · 72 unmodified lines
7373 fate()(
7474 test "$build_only" = "yes" && return
7575 cd ${build} || return
76− ${make} ${makeopts} -k fate
76+ ${make} ${makeopts_fate-${makeopts}} -k fate
7777 )
7878
7979 clean(){

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t