]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/runtime/files: Move runtime files from old directory
authorMariano Lopez <mariano.lopez@linux.intel.com>
Wed, 7 Dec 2016 13:35:43 +0000 (13:35 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jan 2017 12:03:56 +0000 (12:03 +0000)
As part of the refactor we require to move the files used
in runtime testing to the new directory. This also adds
the path to the runtime test context.

[YOCTO #10234]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
meta/lib/oeqa/runtime/context.py
meta/lib/oeqa/runtime/files/hellomod.c [moved from meta/lib/oeqa/runtime_cases/files/hellomod.c with 100% similarity]
meta/lib/oeqa/runtime/files/hellomod_makefile [moved from meta/lib/oeqa/runtime_cases/files/hellomod_makefile with 100% similarity]
meta/lib/oeqa/runtime/files/testmakefile [moved from meta/lib/oeqa/runtime_cases/files/testmakefile with 100% similarity]

index 496730ddbe89d126255c6991c197e5849a82acca..10a887287113ec9647322119e7aedf81877bd6b6 100644 (file)
@@ -9,6 +9,8 @@ from oeqa.runtime.loader import OERuntimeTestLoader
 
 class OERuntimeTestContext(OETestContext):
     loaderClass = OERuntimeTestLoader
+    runtime_files_dir = os.path.join(
+                        os.path.dirname(os.path.abspath(__file__)), "files")
 
     def __init__(self, td, logger, target, packages_manifest):
         super(OERuntimeTestContext, self).__init__(td, logger)