[Fuego] [PATCH 1/5] Benchmark.ffsb: change the keywords in test_deploy phase

zhongl.fnst at cn.fujitsu.com zhongl.fnst at cn.fujitsu.com
Wed Aug 22 06:39:39 UTC 2018


details:

Fuego supports the following features:

1. Support to share the build path among different specs.

2. Support to skip build step automatically if one job is already built.



Due to the above features, sometimes we cannot find the specified keyword in the deploy step, because the specified keyword might has already been replaced in the previous test.



Now using a another better keyword to solve this problem.



Signed-off-by: Zhong Lu <zhongl.fnst at cn.fujitsu.com<mailto:zhongl.fnst at cn.fujitsu.com>>

---

engine/tests/Benchmark.ffsb/fuego_test.sh | 8 ++++----

1 file changed, 4 insertions(+), 4 deletions(-)



diff --git a/engine/tests/Benchmark.ffsb/fuego_test.sh b/engine/tests/Benchmark.ffsb/fuego_test.sh

index 3ded3c3..9cc994d 100755

--- a/engine/tests/Benchmark.ffsb/fuego_test.sh

+++ b/engine/tests/Benchmark.ffsb/fuego_test.sh

@@ -9,10 +9,10 @@ function test_build {

}



function test_deploy {

-       assert_define BENCHMARK_FFSB_MOUNT_POINT

-       sed -i "s|/mnt/test1|$BENCHMARK_FFSB_MOUNT_POINT/fuego.$TESTDIR|g" examples/profile_everything

-       put ffsb  $BOARD_TESTDIR/fuego.$TESTDIR/

-       put examples/profile_everything  $BOARD_TESTDIR/fuego.$TESTDIR/

+    assert_define BENCHMARK_FFSB_MOUNT_POINT

+    sed -r -i "s|(location\s*=)[^\S]*|\1$BENCHMARK_FFSB_MOUNT_POINT/fuego.$TESTDIR|g" examples/profile_everything

+    put ffsb $BOARD_TESTDIR/fuego.$TESTDIR/

+    put examples/profile_everything  $BOARD_TESTDIR/fuego.$TESTDIR/

}



function test_run {

--

2.7.4





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/fuego/attachments/20180822/0eca7d14/attachment.html>


More information about the Fuego mailing list