diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/layerindexlib/tests/cooker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/layerindexlib/tests/cooker.py b/bitbake/lib/layerindexlib/tests/cooker.py index 9ce6e8c3ae..fdbf091103 100644 --- a/bitbake/lib/layerindexlib/tests/cooker.py +++ b/bitbake/lib/layerindexlib/tests/cooker.py | |||
@@ -32,7 +32,7 @@ class LayerIndexCookerTest(LayersTest): | |||
32 | # configure the test data. But we can emulate the basics of the layer.conf | 32 | # configure the test data. But we can emulate the basics of the layer.conf |
33 | # files, so that is what we will do. | 33 | # files, so that is what we will do. |
34 | 34 | ||
35 | new_topdir = os.path.join(os.path.dirname(__file__), "testdata") | 35 | new_topdir = os.path.join(os.path.dirname(os.path.realpath(__file__)), "testdata") |
36 | new_bbpath = os.path.join(new_topdir, "build") | 36 | new_bbpath = os.path.join(new_topdir, "build") |
37 | 37 | ||
38 | self.d.setVar('TOPDIR', new_topdir) | 38 | self.d.setVar('TOPDIR', new_topdir) |