diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2016-11-19 10:11:00 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-19 10:16:24 +0100 |
commit | ca798705b3b8fa9b2f6467970e9bda9d9433986c (patch) | |
tree | 13dde14fcc3027762da911a64bc834c811d36297 /scripts/README | |
parent | b0e5c8f6a5041010347f6b70e39e41886829d928 (diff) | |
download | openembedded-core-ca798705b3b8fa9b2f6467970e9bda9d9433986c.tar.gz openembedded-core-ca798705b3b8fa9b2f6467970e9bda9d9433986c.tar.bz2 openembedded-core-ca798705b3b8fa9b2f6467970e9bda9d9433986c.zip |
ltp: fix an incorrect macro checking
The previous patch added a check but incorrectly
change the elif to if, then it always return 0
for cpuid if the machine is not __i386__
getcpu01 1 TFAIL : getcpu01.c:140: getcpu() returned wrong value expected cpuid:7, returned value cpuid: 0
After this fix:
getcpu01 1 TPASS : getcpu() returned proper cpuid:7, node id:0
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/README')
0 files changed, 0 insertions, 0 deletions