On 09/16/2014 08:33 PM, Michael Eager wrote:
> On 09/15/14 15:53, Chen Gang wrote:
>> On 09/15/2014 11:30 PM, Michael Eager wrote:
>
>>> Configuring DejaGNU for cross-target testing requires creating a
>>> configuration
>>> file describing the target board.
>>>
>>
>> OK, thank you very much. And could you share your configuration file,
>> which I can reference to?
>
> See attached.
>
Thank you very much for your attachments, it is very useful to me!
I tried testsuite for microblaze cross target on x86_64 host, it says
OK ("echo $? == 0"), but I am not quite sure about it (I still doubt
that my configuration is incorrect), please help check, thanks.
dejagnu configuration:
cp xmd.exp /usr/local/share/dejagnu/config/
cp microblaze-xilinx-gdb.exp /usr/local/share/dejagn/baseboards/
vi microblaze-xilinx-gdb.exp
"s/mc_gcc/microblaze\-gchen\-linux\-gcc/g"
gcc operation:
../gcc/configure --target=microblaze-gchen-linux --disable-nls
--enable-languages=c --disable-threads --disable-shared \
--without-headers --disable-libssp --disable-libquadmath
--disable-libgomp --disable-libatomic
make
make -k check-gcc
RUNTESTFLAGS="--target_board=microblaze-xilinx-gdb/-mno-xl-soft-mul/-mxl-barrel-shift/-mcpu=v6.00.a"
gcc result:
=== gcc Summary ===
# of expected passes 48408
# of unexpected failures 17253
# of unexpected successes 1
# of expected failures 97
# of unresolved testcases 16570
# of unsupported tests 1854
/upstream/build-gcc/gcc/xgcc version 5.0.0 20140920 (experimental) (GCC)
make[2]: Leaving directory `/upstream/build-gcc/gcc'
make[1]: Leaving directory `/upstream/build-gcc/gcc'
[root@localhost build-gcc]# echo $?
0
Thanks.
--
Chen Gang
Open share and attitude like air water and life which God blessed