summaryrefslogtreecommitdiffstats
path: root/import-layers/yocto-poky/meta/lib/oeqa/selftest/cases/oescripts.py
diff options
context:
space:
mode:
Diffstat (limited to 'import-layers/yocto-poky/meta/lib/oeqa/selftest/cases/oescripts.py')
-rw-r--r--import-layers/yocto-poky/meta/lib/oeqa/selftest/cases/oescripts.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/import-layers/yocto-poky/meta/lib/oeqa/selftest/cases/oescripts.py b/import-layers/yocto-poky/meta/lib/oeqa/selftest/cases/oescripts.py
deleted file mode 100644
index 1ee753763..000000000
--- a/import-layers/yocto-poky/meta/lib/oeqa/selftest/cases/oescripts.py
+++ /dev/null
@@ -1,15 +0,0 @@
-from oeqa.selftest.case import OESelftestTestCase
-from oeqa.selftest.cases.buildhistory import BuildhistoryBase
-from oeqa.utils.commands import Command, runCmd, bitbake, get_bb_var, get_test_layer
-from oeqa.core.decorator.oeid import OETestID
-
-class BuildhistoryDiffTests(BuildhistoryBase):
-
- @OETestID(295)
- def test_buildhistory_diff(self):
- target = 'xcursor-transparent-theme'
- self.run_buildhistory_operation(target, target_config="PR = \"r1\"", change_bh_location=True)
- self.run_buildhistory_operation(target, target_config="PR = \"r0\"", change_bh_location=False, expect_error=True)
- result = runCmd("buildhistory-diff -p %s" % get_bb_var('BUILDHISTORY_DIR'))
- expected_output = 'PR changed from "r1" to "r0"'
- self.assertTrue(expected_output in result.output, msg="Did not find expected output: %s" % result.output)
OpenPOWER on IntegriCloud