On 08/30/16 14:44, Mike Holmes wrote:

        +# Script that passes command line arguments to odp_crypto
        test when
        +# launched by 'make check'
        +
        +TEST_DIR="${TEST_DIR:-$(dirname $0)}"
        +PERFORMANCE="$TEST_DIR/../../common_plat/performance"
        +ret=0
        +
        +run()
        +{
        +       $PERFORMANCE/odp_crypto${EXEEXT} --odph_proc || ret=1
        +}
        +
        +run
        +
        +exit $ret


    why function is needed here?


becasue it is the common form that that allows multiple calls for different configurations, all of which need to be added.
I'm ok if you plan to extend that.

Maxim.

Reply via email to