[LTP] [RFC PATCH 1/4] travis: Add build script

Petr Vorel pvorel@suse.cz
Wed Nov 29 09:27:43 CET 2017


Hi Li,

> How about adding a new function for ltp build out of tree?

> build_out_of_tree()
> {
>        echo "===== build ltp out of tree ====="
> ...
> }
I'm planning it, but first we need to actually fix out of tree build.
Well, It's not broken, but it does not install all files (make install is
broken), so technically I could add it.

> > +case "$1" in
> > +       -h|--help|help) usage; exit 0;;


>             -o|--out) build="build_out_of_tree";;

> > +       32) build="build_32";;
> > +       *) build="build_native";;
I decided not to use getopts, as we'd have to use getopt from util-linux (getopts shell
builtin does not handle long opts.


Kind regards,
Petr



More information about the ltp mailing list