[Fuego] [PATCH] ltp_one_test: copy the file during deploy
Daniel Sangorrin
daniel.sangorrin at toshiba.co.jp
Thu Jun 14 08:46:30 UTC 2018
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
More information about the Fuego
mailing list