mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
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] (From OE-Core rev: ec73e8a3d3149f3866b7bfc06f169c6e05e2d338) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bbb7366db3
commit
8d3640b90d
@@ -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;
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
#include <limits>
|
||||
|
||||
int main() {}
|
||||
@@ -1,2 +0,0 @@
|
||||
$a = 9.01e+21 - 9.01e+21 + 0.01;
|
||||
print ("the value of a is ", $a, "\n");
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user