Search
lxdream.org :: lxdream/test/Makefile.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/Makefile.in
changeset 1124:aacaae9812ea
prev1109:700c5ab26a63
next1162:a10d0d254f1f
author nkeynes
date Sat Sep 11 09:58:22 2010 +1000 (9 years ago)
permissions -rw-r--r--
last change GTK: Force file extension when creating files
file annotate diff log raw
1.1 --- a/test/Makefile.in Thu Jun 10 22:13:16 2010 +1000
1.2 +++ b/test/Makefile.in Sat Sep 11 09:58:22 2010 +1000
1.3 @@ -73,6 +73,7 @@
1.4 @BUILD_SYSTEST_TRUE@check: build-tests
1.5 @BUILD_SYSTEST_TRUE@ $(RUNTEST) testsh4
1.6 @BUILD_SYSTEST_TRUE@ $(RUNTESTX) testsh4
1.7 +@BUILD_SYSTEST_TRUE@ $(RUNTEST) randmath < $(srcdir)/random.dat > randmath.out && diff -u randmath.out randmath.expect
1.8 @BUILD_SYSTEST_TRUE@ $(RUNTEST) testmmu
1.9 @BUILD_SYSTEST_TRUE@ $(RUNTEST) testregs
1.10 @BUILD_SYSTEST_TRUE@ cat $(srcdir)/testta.data $(srcdir)/testta2.data $(srcdir)/testta3.data $(srcdir)/testta4.data $(srcdir)/testta5.data | $(RUNTEST) testta
1.11 @@ -80,7 +81,7 @@
1.12 # $(RUNTEST) testide -d ../disc/test.nrg
1.13
1.14
1.15 -build-tests: testsh4 testmmu testmath testide testta testregs testrend testdisp testspu testmmu
1.16 +build-tests: testsh4 testmmu testmath testide testta testregs testrend testdisp testspu testmmu randmath randmath.expect
1.17
1.18 lib/crt0.so: lib/crt0.s
1.19 $(mkdir_p) lib
1.20 @@ -161,6 +162,14 @@
1.21 $(SH4CC) $(SH4LDFLAGS) $^ -o $@ $(SH4LIBS)
1.22 $(SH4OBJCOPY) testFF10 testFF10.bin
1.23
1.24 +randmath: lib/crt0.so $(SHARED_OBJECTS) randmath.so
1.25 + $(SH4CC) $(SH4LDFLAGS) $^ -o $@ $(SH4LIBS)
1.26 + $(SH4OBJCOPY) randmath randmath.bin
1.27 +
1.28 +randmath.expect: randmath.c
1.29 + $(HOSTCC) $^ -o randmath.native
1.30 + ./randmath.native < $(srcdir)/random.dat > $@
1.31 +
1.32 .PHONY : clean
1.33 clean:
1.34 rm -f *.o *.so *.ao *.ac *.bin sh4/*.so lib/*.so lib-arm/*.ao mapleid \
1.35 @@ -184,10 +193,10 @@
1.36 sh4/subv.s sh4/tas.s sh4/testsh4.c sh4/tlb.s sh4/vmexit.s sh4/trapa.s sh4/undef.s \
1.37 sh4/xtrct.s sh4/utlb.c sh4/utlb.h sh4/testutlb.s testdata.c testdata.h testdisp.c \
1.38 testide.c testmath.c testaica.c sh4/testmmu.c sh4/mmummio.c testregs.c testrend.c \
1.39 - testspu.c testta.c testyuv.c timer.c timer.h \
1.40 + testspu.c testta.c testyuv.c timer.c timer.h randmath.c \
1.41 testta.data testta2.data testta3.data testta4.data testta5.data testsort.data \
1.42 lxdream.rc dc.x lib/crt0.s lib/libc.a lib/libm.a lib/newlib-1.8.2-dc.patch \
1.43 - aica.x lib-arm/libc.a lib-arm/libm.a lib-arm/crt0.s \
1.44 + aica.x lib-arm/libc.a lib-arm/libm.a lib-arm/crt0.s random.dat \
1.45 include/_ansi.h include/_syslist.h include/ar.h include/assert.h include/ctype.h \
1.46 include/dirent.h include/errno.h include/fastmath.h include/fcntl.h include/grp.h \
1.47 include/ieeefp.h include/locale.h include/machine/fastmath.h include/machine/ieeefp.h \
.