diff options
Diffstat (limited to 'meta/lib')
| -rw-r--r-- | meta/lib/oeqa/sdk/cases/go.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/lib/oeqa/sdk/cases/go.py b/meta/lib/oeqa/sdk/cases/go.py index a050df7a9f..693be89e1d 100644 --- a/meta/lib/oeqa/sdk/cases/go.py +++ b/meta/lib/oeqa/sdk/cases/go.py | |||
| @@ -25,9 +25,9 @@ class GoCompileTest(OESDKTestCase): | |||
| 25 | os.path.join(self.tc.sdk_dir, 'test.go')) | 25 | os.path.join(self.tc.sdk_dir, 'test.go')) |
| 26 | 26 | ||
| 27 | def setUp(self): | 27 | def setUp(self): |
| 28 | target_arch = self.td.get("TARGET_ARCH") | 28 | translated_target_arch = self.td.get("TRANSLATED_TARGET_ARCH") |
| 29 | # Check for go-cross-canadian package (uses target architecture) | 29 | # Check for go-cross-canadian package (uses target architecture) |
| 30 | if not self.tc.hasHostPackage("go-cross-canadian-%s" % target_arch): | 30 | if not self.tc.hasHostPackage("go-cross-canadian-%s" % translated_target_arch): |
| 31 | raise unittest.SkipTest("GoCompileTest class: SDK doesn't contain a Go cross-canadian toolchain") | 31 | raise unittest.SkipTest("GoCompileTest class: SDK doesn't contain a Go cross-canadian toolchain") |
| 32 | 32 | ||
| 33 | # Additional runtime check for go command availability | 33 | # Additional runtime check for go command availability |
| @@ -63,9 +63,9 @@ class GoHostCompileTest(OESDKTestCase): | |||
| 63 | os.path.join(self.tc.sdk_dir, 'test.go')) | 63 | os.path.join(self.tc.sdk_dir, 'test.go')) |
| 64 | 64 | ||
| 65 | def setUp(self): | 65 | def setUp(self): |
| 66 | target_arch = self.td.get("TARGET_ARCH") | 66 | translated_target_arch = self.td.get("TRANSLATED_TARGET_ARCH") |
| 67 | # Check for go-cross-canadian package (uses target architecture) | 67 | # Check for go-cross-canadian package (uses target architecture) |
| 68 | if not self.tc.hasHostPackage("go-cross-canadian-%s" % target_arch): | 68 | if not self.tc.hasHostPackage("go-cross-canadian-%s" % translated_target_arch): |
| 69 | raise unittest.SkipTest("GoHostCompileTest class: SDK doesn't contain a Go cross-canadian toolchain") | 69 | raise unittest.SkipTest("GoHostCompileTest class: SDK doesn't contain a Go cross-canadian toolchain") |
| 70 | 70 | ||
| 71 | # Additional runtime check for go command availability | 71 | # Additional runtime check for go command availability |
