Commit 286ab878 authored by Martin Storsjö's avatar Martin Storsjö

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.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent aa498c31
...@@ -159,6 +159,8 @@ extra_conf= # extra configure options not covered above ...@@ -159,6 +159,8 @@ extra_conf= # extra configure options not covered above
#make= # name of GNU make if not 'make' #make= # name of GNU make if not 'make'
makeopts= # extra options passed to 'make' makeopts= # extra options passed to 'make'
#makeopts_fate= # extra options passed to 'make' when running tests,
# defaulting to makeopts above if this is not set
#tar= # command to create a tar archive from its arguments on #tar= # command to create a tar archive from its arguments on
# stdout, defaults to 'tar c' # stdout, defaults to 'tar c'
@end example @end example
......
...@@ -73,7 +73,7 @@ compile()( ...@@ -73,7 +73,7 @@ compile()(
fate()( fate()(
test "$build_only" = "yes" && return test "$build_only" = "yes" && return
cd ${build} || return cd ${build} || return
${make} ${makeopts} -k fate ${make} ${makeopts_fate-${makeopts}} -k fate
) )
clean(){ clean(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment