Sometimes it can be useful to build not just the default make target, but some
other target or targets in addition to the default one.  Add an extra step in
the FATE client that builds this extra list of targets from the config file.
---
 tests/fate.sh |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

Here's the RFC version to accomplish building extra targets differently.
Now it will not interfere with the standard build step in any way.

diff --git a/tests/fate.sh b/tests/fate.sh
index 6831f81..5e83f3c 100755
--- a/tests/fate.sh
+++ b/tests/fate.sh
@@ -64,6 +64,12 @@ compile()(
     ${make} ${makeopts} ${make_targets} && ${make} install
 )
 
+extras()(
+    test -n "${extra_targets}" || return
+    cd ${build} || return
+    ${make} ${makeopts} ${extra_targets}
+)
+
 fate()(
     test -n "$build_only" && return
     cd ${build} || return
@@ -109,6 +115,7 @@ mkdir -p ${build}
 
 configure > configure.log 2>&1 || fail $? "error configuring"
 compile   > compile.log   2>&1 || fail $? "error compiling"
+extras    > extras.log    2>&1 || fail $? "error compiling extras"
 fate      > test.log      2>&1 || fail $? "error testing"
 report 0 success
 clean
-- 
1.7.3.4

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to