* 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:
sam 2003-09-28 11:22:30 +00:00
parent d2ec72e374
commit 97683acf70
2 changed files with 8 additions and 5 deletions

View File

@ -1,5 +1,5 @@
CLEANFILES = $(allstamps) tmp1 tmp2 tmp3
CLEANFILES = $(allstamps) mytest.scm tmp1 tmp2 tmp3
allstamps = stamp-r4rs
@ -8,8 +8,12 @@ all-local: $(allstamps)
endif
stamp-r4rs: $(top_builddir)/src/elk
rm -f $@
-$(top_builddir)/src/elk -p .:$(top_srcdir)/scm -l r4rstest.scm
rm -f tmp1 tmp2 tmp3
rm -f $@ mytest.scm
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 "" > $@

View File

@ -1226,5 +1226,4 @@
(newline)
(display "(test-cont) (test-sc4) (test-delay)")
(newline)
(test-cont) (test-sc4) (test-delay)
"last item in file"