diff options
author | Mikko Rapeli <mikko.rapeli@bmw.de> | 2019-05-08 16:26:08 +0300 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-05-17 21:30:51 -0700 |
commit | 274c22a1fd95418e4afb6633bb4b2e6debc4d7ea (patch) | |
tree | d0c7818be089d02593133cbf26fe955dad48eb96 /meta/lib/oeqa/sdk/case.py | |
parent | 6f58c301e2d3463848df35c5b5c55d167ab34035 (diff) | |
download | openembedded-core-274c22a1fd95418e4afb6633bb4b2e6debc4d7ea.tar.gz openembedded-core-274c22a1fd95418e4afb6633bb4b2e6debc4d7ea.tar.bz2 openembedded-core-274c22a1fd95418e4afb6633bb4b2e6debc4d7ea.zip |
oeqa/sdk: use bash to execute SDK test commands
The commands only work with with bash. If /bin/sh is
dash like in Debian, the command execution fails with
errors like:
Standard Output: /bin/sh: 5: export: --sysroot: bad variable name
and all SDK tests fail.
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta/lib/oeqa/sdk/case.py')
-rw-r--r-- | meta/lib/oeqa/sdk/case.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/sdk/case.py b/meta/lib/oeqa/sdk/case.py index 963aa8d358..c0aef18cd5 100644 --- a/meta/lib/oeqa/sdk/case.py +++ b/meta/lib/oeqa/sdk/case.py @@ -8,5 +8,5 @@ from oeqa.core.case import OETestCase class OESDKTestCase(OETestCase): def _run(self, cmd): return subprocess.check_output(". %s > /dev/null; %s;" % \ - (self.tc.sdk_env, cmd), shell=True, + (self.tc.sdk_env, cmd), shell=True, executable="/bin/bash", stderr=subprocess.STDOUT, universal_newlines=True) |