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
159 159
160#make= # name of GNU make if not 'make'160#make= # name of GNU make if not 'make'
161makeopts= # extra options passed to 'make'161makeopts= # 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
162#tar= # command to create a tar archive from its arguments on164#tar= # command to create a tar archive from its arguments on
163 # stdout, defaults to 'tar c'165 # stdout, defaults to 'tar c'
164@end example166@end example
tests/fate.sh+1−1
@@ -73,7 +73,7 @@ compile()( · 72 unmodified lines
73fate()(73fate()(
74 test "$build_only" = "yes" && return74 test "$build_only" = "yes" && return
75 cd ${build} || return75 cd ${build} || return
76 ${make} ${makeopts} -k fate76 ${make} ${makeopts_fate-${makeopts}} -k fate
77)77)
78 78
79clean(){79clean(){

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