[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4229/8267] oeqa/runtime/files: Move runtime files from old directory



commit 5f57fd0b08f01a5d50787186f64d62d901a71ce0
Author: Mariano Lopez <mariano lopez linux intel com>
Date:   Wed Dec 7 13:35:43 2016 +0000

    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]
    
    (From OE-Core rev: f80c21b46f69c42ff0853bf8abd01cf0c082c346)
    
    Signed-off-by: Mariano Lopez <mariano lopez linux intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/lib/oeqa/runtime/context.py                   |    2 ++
 .../{runtime_cases => runtime}/files/hellomod.c    |    0
 .../files/hellomod_makefile                        |    0
 .../{runtime_cases => runtime}/files/testmakefile  |    0
 4 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/meta/lib/oeqa/runtime/context.py b/meta/lib/oeqa/runtime/context.py
index 496730d..10a8872 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]