mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-26 05:20:30 +00:00
* Added hooks to new dejagnu sky tests, removed old test from run.
Mon May 4 17:59:11 1998 Frank Ch. Eigler <fche@cygnus.com> start-sanitize-sky * configure.in (testdir): Don't use old sky test directory. * configure: Regenerated * sky/Makefile.in: swallow stderr on buggy tests end-sanitize-sky * config/default.exp: Added C compiler settings.
This commit is contained in:
parent
c8f28d295d
commit
5678ce88c4
49
sim/testsuite/config/default.exp
Normal file
49
sim/testsuite/config/default.exp
Normal file
@ -0,0 +1,49 @@
|
||||
# Simulator default dejagnu configuration file.
|
||||
|
||||
load_lib sim-defs.exp
|
||||
|
||||
global AS
|
||||
if ![info exists AS] {
|
||||
set AS [findfile $base_dir/../../gas/as-new $base_dir/../../gas/as-new \
|
||||
[transform as]]
|
||||
}
|
||||
|
||||
global ASFLAGS
|
||||
if ![info exists ASFLAGS] {
|
||||
set ASFLAGS ""
|
||||
}
|
||||
|
||||
global CC
|
||||
if ![info exists CC] {
|
||||
set CC [findfile $base_dir/../../gcc/xgcc $base_dir/../../gcc/xgcc \
|
||||
[transform gcc]]
|
||||
}
|
||||
|
||||
global CFLAGS
|
||||
if ![info exists CFLAGS] {
|
||||
set CFLAGS ""
|
||||
}
|
||||
|
||||
global LD
|
||||
if ![info exists LD] {
|
||||
set LD [findfile $base_dir/../../ld/ld-new $base_dir/../../ld/ld-new \
|
||||
[transform ld]]
|
||||
}
|
||||
|
||||
global LDFLAGS
|
||||
if ![info exists LDFLAGS] {
|
||||
set LDFLAGS ""
|
||||
}
|
||||
|
||||
global SIM
|
||||
if ![info exists SIM] {
|
||||
set SIM [findfile $base_dir/../$arch/run $base_dir/../$arch/run \
|
||||
[transform run]]
|
||||
}
|
||||
|
||||
global SIMFLAGS
|
||||
if ![info exists SIMFLAGS] {
|
||||
set SIMFLAGS ""
|
||||
}
|
||||
|
||||
sim_init
|
@ -24,7 +24,7 @@ fi
|
||||
# add any extra subdirectories
|
||||
case $target in
|
||||
# start-sanitize-sky
|
||||
mips64r5900-sky-elf) configdirs="${configdirs} sky" ;;
|
||||
mips64r5900-sky-elf) configdirs="${configdirs}" ;;
|
||||
# end-sanitize-sky
|
||||
*) ;;
|
||||
esac
|
||||
|
@ -21,6 +21,13 @@ Do-first:
|
||||
# called. Directories not listed will be removed in their entirety
|
||||
# with rm -rf.
|
||||
|
||||
sky_files="sky"
|
||||
if ( echo $* | grep keep\-sky > /dev/null ) ; then
|
||||
keep_these_too="${sky_files} ${keep_these_too}"
|
||||
else
|
||||
lose_these_too="${sky_files} ${lose_these_too}"
|
||||
fi
|
||||
|
||||
Things-to-keep:
|
||||
|
||||
m32r
|
||||
|
@ -196,12 +196,12 @@ sce%.ok: sce%.exe
|
||||
|
||||
.run.ok:
|
||||
rm -f tmp-$* $*.hi
|
||||
ulimit -t $(ULIMIT) ; $(RUN_FOR_TARGET) $< > tmp-$*
|
||||
ulimit -t $(ULIMIT) ; $(RUN_FOR_TARGET) $< > tmp-$* 2>/dev/null
|
||||
mv tmp-$* $*.ok
|
||||
.run.ko:
|
||||
rm -f tmp-$* $*.ko
|
||||
set +e ; \
|
||||
ulimit -t $(ULIMIT) ; $(RUN_FOR_TARGET) $< > tmp-$* ; \
|
||||
ulimit -t $(ULIMIT) ; $(RUN_FOR_TARGET) $< > tmp-$* 2>/dev/null ; \
|
||||
if [ $$? -ne 0 ] ; then \
|
||||
exit 0 ; \
|
||||
else \
|
||||
@ -236,7 +236,7 @@ sce%.ok: sce%.exe
|
||||
-env VIF1_TRACE_FILE=$@ $(RUN_FOR_TARGET) $<
|
||||
.run.vuout:
|
||||
rm -f $@
|
||||
-env SKY_DEBUG=inst_trace $(RUN_FOR_TARGET) $< > $@
|
||||
-env SKY_DEBUG=inst_trace $(RUN_FOR_TARGET) $< > $@ 2>/dev/null
|
||||
.s.run:
|
||||
rm -f $@
|
||||
$(AS_FOR_TARGET) -mcpu=r5900 -o $@ $<
|
||||
|
Loading…
Reference in New Issue
Block a user