<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p>I've been adding in some simple image tests to meta-mono and
      things seem to be working.<br>
    </p>
    <p>A couple of minor questions came up in the process which I can't
      spot obvious answers to. Perhaps you could help?<br>
    </p>
    <p>(1) The image tests wiki
      (<a class="moz-txt-link-freetext" href="https://wiki.yoctoproject.org/wiki/Image_tests">https://wiki.yoctoproject.org/wiki/Image_tests</a>) references use of
      filesdir for resources.</p>
    <p>e.g. <br>
    </p>
    <pre style="font-family: monospace, Courier; padding: 1em; border: 1px dashed rgb(47, 111, 171); color: rgb(0, 0, 0); background-color: rgb(249, 249, 249); line-height: 1.1em; font-size: 12.7px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">oeRuntimeTest.tc.target.copy_to(os.path.join(oeRuntimeTest.tc.filesdir, "test.c"), "/tmp/test.c")</pre>
    <p>That helper class resolves filesdir to poky/meta ...</p>
    <p>I need my resource files to be in the meta-mono layer.</p>
    <p>In the end just copied out the code to my layer with</p>
    <pre style="padding: 0px; margin: 0px; color: rgb(255, 255, 255); font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(51, 51, 51); text-decoration-style: initial; text-decoration-color: initial;"><code>   files_dir = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), "../files"))</code></pre>
    <p>However I'm wondering if there's a less hand-rolled way to get a
      layer specific resources folder?</p>
    <p>(2) The OETestID(x) decorator seems to be displayed during the
      test execution. <br>
    </p>
    <p>Where is this number derived? Is it layer specific or it if I
      pluck a number of of the air do I risk conflicting with other OE
      test IDs?</p>
    <p>Thanks,</p>
    <p>Alex</p>
    <p><br>
    </p>
  </body>
</html>