diff options
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/sstatetests.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/sstatetests.py b/meta/lib/oeqa/selftest/cases/sstatetests.py index 9adb511960..c46e8ba489 100644 --- a/meta/lib/oeqa/selftest/cases/sstatetests.py +++ b/meta/lib/oeqa/selftest/cases/sstatetests.py | |||
| @@ -19,10 +19,13 @@ class SStateTests(SStateBase): | |||
| 19 | # Test that a git repository which changes is correctly handled by SRCREV = ${AUTOREV} | 19 | # Test that a git repository which changes is correctly handled by SRCREV = ${AUTOREV} |
| 20 | # when PV does not contain SRCPV | 20 | # when PV does not contain SRCPV |
| 21 | 21 | ||
| 22 | tempdir = tempfile.mkdtemp(prefix='oeqa') | 22 | tempdir = tempfile.mkdtemp(prefix='sstate_autorev') |
| 23 | tempdldir = tempfile.mkdtemp(prefix='sstate_autorev_dldir') | ||
| 23 | self.track_for_cleanup(tempdir) | 24 | self.track_for_cleanup(tempdir) |
| 25 | self.track_for_cleanup(tempdldir) | ||
| 24 | create_temp_layer(tempdir, 'selftestrecipetool') | 26 | create_temp_layer(tempdir, 'selftestrecipetool') |
| 25 | self.add_command_to_tearDown('bitbake-layers remove-layer %s' % tempdir) | 27 | self.add_command_to_tearDown('bitbake-layers remove-layer %s' % tempdir) |
| 28 | self.append_config("DL_DIR = \"%s\"" % tempdldir) | ||
| 26 | runCmd('bitbake-layers add-layer %s' % tempdir) | 29 | runCmd('bitbake-layers add-layer %s' % tempdir) |
| 27 | 30 | ||
| 28 | # Use dbus-wait as a local git repo we can add a commit between two builds in | 31 | # Use dbus-wait as a local git repo we can add a commit between two builds in |
