From a70639fb60bfbe5899f580a48222b47f435ca1f8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Cl=C3=A9ment=20B=C3=A9nier?= Date: Fri, 27 Jul 2018 11:37:51 +0200 Subject: [PATCH] functionnal test: install test install fake sdk MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit install a fake sdk and waiting for event to end the test Change-Id: I5c2125f32a1fb4a80f9b251174d15117eef26f9a Signed-off-by: Clément Bénier --- test/config.go | 2 + ...4-gcc_crosssdk-native_x86_64-toolchain-1.0.2.sh | Bin 0 -> 2002 bytes test/sdks_test.go | 66 +++++++++++++++++---- test/xdsserver_test.go | 29 +++++++++ 4 files changed, 84 insertions(+), 13 deletions(-) create mode 100755 test/fixtures/poky-agl-glibc-x86_64-gcc_crosssdk-native_x86_64-toolchain-1.0.2.sh diff --git a/test/config.go b/test/config.go index 8fea851..a551d4f 100644 --- a/test/config.go +++ b/test/config.go @@ -27,4 +27,6 @@ const ( envXdtSdk = "XDT_SDK" envXdsServerWorkspaceDir = "XDS_SERVER_WORKSPACE_DIR" envXdsServerRootCfgDir = "XDS_SERVER_ROOT_CFG_DIR" + sdkFileName = "poky-agl-glibc-x86_64-gcc_crosssdk-native_x86_64-toolchain-1.0.2.sh" + sdkFile = "fixtures/" + sdkFileName ) diff --git a/test/fixtures/poky-agl-glibc-x86_64-gcc_crosssdk-native_x86_64-toolchain-1.0.2.sh b/test/fixtures/poky-agl-glibc-x86_64-gcc_crosssdk-native_x86_64-toolchain-1.0.2.sh new file mode 100755 index 0000000000000000000000000000000000000000..7781335862ddcdcaddac2471511e0050b1157038 GIT binary patch literal 2002 zcmbVN-E!JS6izR_PjMnM9lNRc3&swPGJ}y!6obVGoRV}p%pxtYwUAV4ArQx}(l_Z< zUaV&&fkfQoqPk$vcfRwxXFnZ3uS~gLi5G;tH|(Kl-D*m$TrJlXq8r1JZrYlnkdfIp zv|5#XT5ylS?@&4h)n`zJKQ6%y2;k$;m_exq+)rL5q^d5PuI8tEK!Pz7pl%MJ%S&=} zq;5~~_bC1ECja9Fp9u->Dk;_e!%y%fJESMoA~y{ulgj6p!#bF=2tYCYHTAd)G@7rL z%oi(sz6&z^ znn|a_fN2HBMnu%XBIYpEZ+7H$=^;D%M}?4tsrsPcNydVDo@AF5!nszGgUxqDDdTx zs5qTfs5(K!__^9_sA-QX7Pi_Dwh4ns$aY3;yK9VwABMJNjkH3ncpFDSAmYl8Lkw=Z zla6(JZFVPFkcr&>(zl^^DGU5Td-V1xv9gMzipQsw@P6(D{*2FCPl6?!ctInUvvvtO z$4@#0k3TLy#N;)G#tX%BM)jdQ%G=eXzQcvrv54Rd#zTZSXsEM$pA#0z=s z_HEBBxJJ~+PIGVT>Rrbge8^)5(?6Xc+#WFWyM7@9GTha&kfV*#vumG5x#w*^$NgoF z_ZvCBY~*;l7?Xi*T$^KUKf~mx?`&go-D`JoZ25FE0930EYRE&Do5thJSbDg+GkZEN z#{|zQ0rB=^+t|}Hmin9bt7@U5WQNXQkXiQ7O=rhdvqgQnNqe$obS$h`H}Q0=$zHIF z7dXq5F=c%}qP6YLTWxdE+!ttD!y#US{=n=R8o_({{X4p5QH)yly_>0X+?k*SVQ{}y z>D(hJ0Pj;bRNB4lkUkUCrGkRZ)?5Z{LA6$Y**I&SU%aZ)spGO)4y5m7gu;&swG3NO zuhuTAXZ3om`SMkxmX=-qUwX2o(MZW%X{(1cI