[Fuego] [PATCH] ltp_one_test: copy the file during deploy
Tim Bird
tbird20d at gmail.com
Sat Jun 16 10:01:41 UTC 2018
I'm having trouble with my work e-mail, so I'm responding from my gmail account.
Good catch!
I can't test this at the moment, but I did the unthinkable and applied
it to my master
branch, without testing it. Can you give it run on the master branch
to make sure I
didn't mess up the commit?
I may be able to test this before next week, but maybe not.
Thanks,
-- Tim
On Thu, Jun 14, 2018 at 1:46 AM, Daniel Sangorrin
<daniel.sangorrin at toshiba.co.jp> wrote:
> build is only executed once
>
> Signed-off-by: Daniel Sangorrin <daniel.sangorrin at toshiba.co.jp>
> ---
> engine/tests/Functional.LTP_one_test/fuego_test.sh | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/engine/tests/Functional.LTP_one_test/fuego_test.sh b/engine/tests/Functional.LTP_one_test/fuego_test.sh
> index cf71534..279770a 100755
> --- a/engine/tests/Functional.LTP_one_test/fuego_test.sh
> +++ b/engine/tests/Functional.LTP_one_test/fuego_test.sh
> @@ -28,14 +28,14 @@ function test_build {
> # NOTE: vars used in ftc run-test should not leak into this environment
> # that is, none of our test vars should have changed.
> fi
> -
> - cp ${LTP_BUILD_DIR}/target_bin/testcases/bin/$one_test .
> }
>
> function test_deploy {
> # set LTP_BUILD_DIR (possibly again), in case test_build was skipped
> LTP_BUILD_DIR="${WORKSPACE}/$(echo $JOB_BUILD_DIR | sed s/LTP_one_test/LTP/ | sed s/$TESTSPEC/default/)"
>
> + cp ${LTP_BUILD_DIR}/target_bin/testcases/bin/$one_test .
> +
> local bdir="$BOARD_TESTDIR/fuego.$TESTDIR"
> local scenario=$FUNCTIONAL_LTP_ONE_TEST_SCENARIO
> if [ -z "$scenario" ] ; then
> --
> 2.7.4
>
>
> _______________________________________________
> Fuego mailing list
> Fuego at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/fuego
--
-- Tim Bird
Senior Staff Software Engineer, Sony Corporation
Architecture Group Chair, Core Embedded Linux Project, Linux Foundation
More information about the Fuego
mailing list