diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2016-11-09 14:57:40 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-23 12:03:54 +0000 |
commit | ec73e8a3d3149f3866b7bfc06f169c6e05e2d338 (patch) | |
tree | dcd0b048cf511cf39f9659f1df16995108ccebb5 /meta/lib/oeqa/runtime | |
parent | 619c9ab308fbef9e3563dc661e432603e764b562 (diff) | |
download | openembedded-core-contrib-ec73e8a3d3149f3866b7bfc06f169c6e05e2d338.tar.gz |
oeqa: Move common files to oeqa/files instead of runtime only
Those files are used by runtime and sdk test cases, so move to
base directory of oeqa module.
[YOCTO #10599]
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Diffstat (limited to 'meta/lib/oeqa/runtime')
-rw-r--r-- | meta/lib/oeqa/runtime/files/test.c | 26 | ||||
-rw-r--r-- | meta/lib/oeqa/runtime/files/test.cpp | 3 | ||||
-rw-r--r-- | meta/lib/oeqa/runtime/files/test.pl | 2 | ||||
-rw-r--r-- | meta/lib/oeqa/runtime/files/test.py | 6 |
4 files changed, 0 insertions, 37 deletions
diff --git a/meta/lib/oeqa/runtime/files/test.c b/meta/lib/oeqa/runtime/files/test.c deleted file mode 100644 index 2d8389c92e..0000000000 --- a/meta/lib/oeqa/runtime/files/test.c +++ /dev/null @@ -1,26 +0,0 @@ -#include <stdio.h> -#include <math.h> -#include <stdlib.h> - -double convert(long long l) -{ - return (double)l; -} - -int main(int argc, char * argv[]) { - - long long l = 10; - double f; - double check = 10.0; - - f = convert(l); - printf("convert: %lld => %f\n", l, f); - if ( f != check ) exit(1); - - f = 1234.67; - check = 1234.0; - printf("floorf(%f) = %f\n", f, floorf(f)); - if ( floorf(f) != check) exit(1); - - return 0; -} diff --git a/meta/lib/oeqa/runtime/files/test.cpp b/meta/lib/oeqa/runtime/files/test.cpp deleted file mode 100644 index 9e1a76473d..0000000000 --- a/meta/lib/oeqa/runtime/files/test.cpp +++ /dev/null @@ -1,3 +0,0 @@ -#include <limits> - -int main() {}
\ No newline at end of file diff --git a/meta/lib/oeqa/runtime/files/test.pl b/meta/lib/oeqa/runtime/files/test.pl deleted file mode 100644 index 689c8f1635..0000000000 --- a/meta/lib/oeqa/runtime/files/test.pl +++ /dev/null @@ -1,2 +0,0 @@ -$a = 9.01e+21 - 9.01e+21 + 0.01; -print ("the value of a is ", $a, "\n"); diff --git a/meta/lib/oeqa/runtime/files/test.py b/meta/lib/oeqa/runtime/files/test.py deleted file mode 100644 index f389225d72..0000000000 --- a/meta/lib/oeqa/runtime/files/test.py +++ /dev/null @@ -1,6 +0,0 @@ -import os - -os.system('touch /tmp/testfile.python') - -a = 9.01e+21 - 9.01e+21 + 0.01 -print("the value of a is %s" % a) |