sim: cris: replace @srcdir@ test extension with $srcdir/$subdir
authorMike Frysinger <vapier@gentoo.org>
Wed, 17 Nov 2021 01:16:18 +0000 (20:16 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 17 Nov 2021 01:16:18 +0000 (20:16 -0500)
commit927f25ebac00e225ed7ca88e45e2a98ddbdb122a
tree8cce8de1ecc7f51c5dbaacdeea59e917908428e1
parentb31ff1f79b561e29249d738fa9f076e58495035f
sim: cris: replace @srcdir@ test extension with $srcdir/$subdir

The common framework supports $srcdir & $subdir replacements already,
so replace the custom @srcdir@ logic with those.  Since the replace
happens in slurp_options that cris already uses, we don't have any
logic to port over there.  We have to duplicate that into the cris
slurp_rv helper though.
sim/testsuite/cris/c/c.exp
sim/testsuite/cris/c/openpf2.c
sim/testsuite/cris/hw/rv-n-cris/host1.ms
sim/testsuite/cris/hw/rv-n-cris/rvc.exp
sim/testsuite/cris/hw/rv-n-cris/trivial4.ms
sim/testsuite/cris/hw/rv-n-cris/trivial5.ms