* r4rstest.scm is the original test again, we add extra tests at build time
in a generated file. * Fixed a $(srcdir) / $(builddir) confusion. git-svn-id: svn://svn.zoy.org/elk/trunk@219 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
parent
d2ec72e374
commit
97683acf70
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
CLEANFILES = $(allstamps) tmp1 tmp2 tmp3
|
CLEANFILES = $(allstamps) mytest.scm tmp1 tmp2 tmp3
|
||||||
|
|
||||||
allstamps = stamp-r4rs
|
allstamps = stamp-r4rs
|
||||||
|
|
||||||
|
@ -8,8 +8,12 @@ all-local: $(allstamps)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
stamp-r4rs: $(top_builddir)/src/elk
|
stamp-r4rs: $(top_builddir)/src/elk
|
||||||
rm -f $@
|
rm -f $@ mytest.scm
|
||||||
-$(top_builddir)/src/elk -p .:$(top_srcdir)/scm -l r4rstest.scm
|
|
||||||
rm -f tmp1 tmp2 tmp3
|
sed -e 's/r4rstest/mytest/g' < $(srcdir)/r4rstest.scm > mytest.scm
|
||||||
|
echo '(test-cont) (test-sc4) (test-delay)' >> mytest.scm
|
||||||
|
|
||||||
|
-$(top_builddir)/src/elk -p .:$(top_srcdir)/scm -l mytest.scm
|
||||||
|
rm -f mytest.scm tmp1 tmp2 tmp3
|
||||||
printf "" > $@
|
printf "" > $@
|
||||||
|
|
||||||
|
|
|
@ -1226,5 +1226,4 @@
|
||||||
(newline)
|
(newline)
|
||||||
(display "(test-cont) (test-sc4) (test-delay)")
|
(display "(test-cont) (test-sc4) (test-delay)")
|
||||||
(newline)
|
(newline)
|
||||||
(test-cont) (test-sc4) (test-delay)
|
|
||||||
"last item in file"
|
"last item in file"
|
||||||
|
|
Loading…
Reference in New Issue