mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
1368b914e9
Now that all port tests live under testsuite/sim/*/, and none live in testsuite/ directly, flatten the structure by moving all of the dirs under testsuite/sim/ to testsuite/ directly. We need to stop passing --tool to dejagnu so that it searches all dirs and not just ones that start with "sim". Since we have no other dirs in this tree, and no plans to add any, should be fine.
23 lines
358 B
Plaintext
23 lines
358 B
Plaintext
#mach: crisv32
|
|
#sim(crisv32): --hw-device "/rv/dummy 0x12"
|
|
|
|
# A variant of trivial2.ms to check that the right thing happens when
|
|
# we reach the poll function with a dummy device.
|
|
|
|
.include "testutils.inc"
|
|
start
|
|
move.d 0xd0000000,$r0
|
|
move.d [$r0+],$r3
|
|
cmp.d 0x12121212,$r3
|
|
beq ok
|
|
nop
|
|
bad:
|
|
fail
|
|
ok:
|
|
move.d 0x10000,$r10
|
|
0:
|
|
bne 0b
|
|
subq 1,$r10
|
|
|
|
pass
|