mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
oeqa: Fix files handling on runtime tests.
Common files was move to oeqa/files from oeqa/runtime/files because the same files are used across Runtime,SDK,eSDK tests. (From OE-Core rev: f099302efe8f222c3e4ae3604429f5ede4fd8c67) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e5f05409d0
commit
ba1aec3407
@@ -12,9 +12,9 @@ class GccCompileTest(oeRuntimeTest):
|
||||
|
||||
@classmethod
|
||||
def setUpClass(self):
|
||||
oeRuntimeTest.tc.target.copy_to(os.path.join(oeRuntimeTest.tc.filesdir, "test.c"), "/tmp/test.c")
|
||||
oeRuntimeTest.tc.target.copy_to(os.path.join(oeRuntimeTest.tc.corefilesdir, "test.c"), "/tmp/test.c")
|
||||
oeRuntimeTest.tc.target.copy_to(os.path.join(oeRuntimeTest.tc.filesdir, "testmakefile"), "/tmp/testmakefile")
|
||||
oeRuntimeTest.tc.target.copy_to(os.path.join(oeRuntimeTest.tc.filesdir, "test.cpp"), "/tmp/test.cpp")
|
||||
oeRuntimeTest.tc.target.copy_to(os.path.join(oeRuntimeTest.tc.corefilesdir, "test.cpp"), "/tmp/test.cpp")
|
||||
|
||||
@testcase(203)
|
||||
def test_gcc_compile(self):
|
||||
|
||||
@@ -12,7 +12,7 @@ class PerlTest(oeRuntimeTest):
|
||||
|
||||
@classmethod
|
||||
def setUpClass(self):
|
||||
oeRuntimeTest.tc.target.copy_to(os.path.join(oeRuntimeTest.tc.filesdir, "test.pl"), "/tmp/test.pl")
|
||||
oeRuntimeTest.tc.target.copy_to(os.path.join(oeRuntimeTest.tc.corefilesdir, "test.pl"), "/tmp/test.pl")
|
||||
|
||||
@testcase(1141)
|
||||
def test_perl_exists(self):
|
||||
|
||||
@@ -12,7 +12,7 @@ class PythonTest(oeRuntimeTest):
|
||||
|
||||
@classmethod
|
||||
def setUpClass(self):
|
||||
oeRuntimeTest.tc.target.copy_to(os.path.join(oeRuntimeTest.tc.filesdir, "test.py"), "/tmp/test.py")
|
||||
oeRuntimeTest.tc.target.copy_to(os.path.join(oeRuntimeTest.tc.corefilesdir, "test.py"), "/tmp/test.py")
|
||||
|
||||
@testcase(1145)
|
||||
def test_python_exists(self):
|
||||
|
||||
Reference in New Issue
Block a user