From f80c21b46f69c42ff0853bf8abd01cf0c082c346 Mon Sep 17 00:00:00 2001 From: Mariano Lopez Date: Wed, 7 Dec 2016 13:35:43 +0000 Subject: [PATCH] oeqa/runtime/files: Move runtime files from old directory 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 --- meta/lib/oeqa/runtime/context.py | 2 ++ meta/lib/oeqa/{runtime_cases => runtime}/files/hellomod.c | 0 .../lib/oeqa/{runtime_cases => runtime}/files/hellomod_makefile | 0 meta/lib/oeqa/{runtime_cases => runtime}/files/testmakefile | 0 4 files changed, 2 insertions(+) rename meta/lib/oeqa/{runtime_cases => runtime}/files/hellomod.c (100%) rename meta/lib/oeqa/{runtime_cases => runtime}/files/hellomod_makefile (100%) rename meta/lib/oeqa/{runtime_cases => runtime}/files/testmakefile (100%) diff --git a/meta/lib/oeqa/runtime/context.py b/meta/lib/oeqa/runtime/context.py index 496730ddbe..10a8872871 100644 --- a/meta/lib/oeqa/runtime/context.py +++ b/meta/lib/oeqa/runtime/context.py @@ -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) diff --git a/meta/lib/oeqa/runtime_cases/files/hellomod.c b/meta/lib/oeqa/runtime/files/hellomod.c similarity index 100% rename from meta/lib/oeqa/runtime_cases/files/hellomod.c rename to meta/lib/oeqa/runtime/files/hellomod.c diff --git a/meta/lib/oeqa/runtime_cases/files/hellomod_makefile b/meta/lib/oeqa/runtime/files/hellomod_makefile similarity index 100% rename from meta/lib/oeqa/runtime_cases/files/hellomod_makefile rename to meta/lib/oeqa/runtime/files/hellomod_makefile diff --git a/meta/lib/oeqa/runtime_cases/files/testmakefile b/meta/lib/oeqa/runtime/files/testmakefile similarity index 100% rename from meta/lib/oeqa/runtime_cases/files/testmakefile rename to meta/lib/oeqa/runtime/files/testmakefile -- 2.40.1