diff options
Diffstat (limited to 'import-layers/yocto-poky/meta/lib/oeqa/sdk/cases/perl.py')
-rw-r--r-- | import-layers/yocto-poky/meta/lib/oeqa/sdk/cases/perl.py | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/import-layers/yocto-poky/meta/lib/oeqa/sdk/cases/perl.py b/import-layers/yocto-poky/meta/lib/oeqa/sdk/cases/perl.py deleted file mode 100644 index 808567811..000000000 --- a/import-layers/yocto-poky/meta/lib/oeqa/sdk/cases/perl.py +++ /dev/null @@ -1,28 +0,0 @@ -import os -import shutil -import unittest - -from oeqa.core.utils.path import remove_safe -from oeqa.sdk.case import OESDKTestCase - -class PerlTest(OESDKTestCase): - @classmethod - def setUpClass(self): - if not (self.tc.hasHostPackage("nativesdk-perl") or - self.tc.hasHostPackage("perl-native")): - raise unittest.SkipTest("No perl package in the SDK") - - for f in ['test.pl']: - shutil.copyfile(os.path.join(self.tc.files_dir, f), - os.path.join(self.tc.sdk_dir, f)) - self.testfile = os.path.join(self.tc.sdk_dir, "test.pl") - - def test_perl_exists(self): - self._run('which perl') - - def test_perl_works(self): - self._run('perl %s' % self.testfile) - - @classmethod - def tearDownClass(self): - remove_safe(self.testfile) |